Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5879c11c authored by Manikanta Kanamarlapudi's avatar Manikanta Kanamarlapudi Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarManikanta Kanamarlapudi <kmanikan@codeaurora.org>
parent 3cd2ebb3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
/* 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
@@ -1089,7 +1089,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) ==