msm: vidc: Update operating rate handling

Validate incoming operating rate setting and
consider special value of operating rate indicating
client's intention to set turbo mode. Vote for the
highest frequency if one of the instance sets
operating rate as INT_MAX.

Change-Id: I4803ed419cee0e327d96b81d7bf372cee82a2e8d
Signed-off-by: Saurabh Kothawade <skothawa@codeaurora.org>
diff --git a/drivers/media/platform/msm/vidc/msm_vidc_internal.h b/drivers/media/platform/msm/vidc/msm_vidc_internal.h
index ba05059..3aae708 100644
--- a/drivers/media/platform/msm/vidc/msm_vidc_internal.h
+++ b/drivers/media/platform/msm/vidc/msm_vidc_internal.h
@@ -279,6 +279,7 @@
 	u32 opb_fourcc;
 	enum hal_work_mode work_mode;
 	bool low_latency_mode;
+	bool turbo_mode;
 };
 
 struct profile_data {