diff options
| author | Manikanta Kanamarlapudi <kmanikan@codeaurora.org> | 2016-12-22 18:55:05 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-01-15 23:17:19 -0800 |
| commit | 65c7f8ce6ea0bb1b14ba4942ecf95550a9f93d2e (patch) | |
| tree | c9d8ea39046bf691c948689f3f91e0b469286192 | |
| parent | 242e8667ed0a2aa1a4de41d61555e2a62cbe6e8f (diff) | |
msm: vidc: Disable port reconfig for thumbnail session
Dont send port reconfig to client for thumbnail session
when driver received sufficient resources from firmware.
Change-Id: Ib139978e2c46ace3492fc1b3c6247871f3f9d10b
Signed-off-by: Manikanta Kanamarlapudi <kmanikan@codeaurora.org>
| -rw-r--r-- | drivers/media/platform/msm/vidc/msm_vidc_common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/platform/msm/vidc/msm_vidc_common.c b/drivers/media/platform/msm/vidc/msm_vidc_common.c index c5b4872b8e23..50ea4a200dfa 100644 --- a/drivers/media/platform/msm/vidc/msm_vidc_common.c +++ b/drivers/media/platform/msm/vidc/msm_vidc_common.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. +/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -1087,7 +1087,8 @@ static void handle_event_change(enum hal_command_response cmd, void *data) rc = msm_comm_g_ctrl_for_id(inst, V4L2_CID_MPEG_VIDC_VIDEO_CONTINUE_DATA_TRANSFER); - if (!IS_ERR_VALUE(rc) && rc == true) { + if ((!IS_ERR_VALUE(rc) && rc == true) || + is_thumbnail_session(inst)) { event = V4L2_EVENT_SEQ_CHANGED_SUFFICIENT; if (msm_comm_get_stream_output_mode(inst) == |
