msm: kgsl: Turn off the CP_DEBUG dynamic clock

The CP dynamic clock seems to be glitchy when the CP clocks are turned
back on after a power event. Turn off said dynamic clock control at
init time. The impact of leaving the dynamic clock control off is
negligible since the CP clock is only on when the CP is actually in
use.

CRs-fixed: 402119
CRs-fixed: 409253
CRs-fixed: 413224
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
(cherry picked from commit ed201aa291dfe13629d8c6cfa1d6e6f229b0c3c2)

Change-Id: I61b4b14d842b3061bcae55d2d2f4c035bf70d6fa
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
media: video: Properly handle lbuf overflow interrupt in vcap

There are certain circumstances in which clearing the status
register will not actually clear the lbuf interrupt. The proper
way to handle this is to perform a sw reset.

Change-Id: I11024382bdcdb09fb7e065597987abf7315c7554
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
media: video: Allow for vcap vc to be paused and resumed

There are some instances where the client of vcap does not want
to call stream off and set up everything again for vcap to stream
again. This patch allows for vcap vc to be paused. While vcap vc
is paused it is possible for client to give new timing values,
as long as there is no change to the size of buffers needed.

Change-Id: I628d29cdc87ac41f4f7cbed76511cfc7f8475fac
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
msm_fb: hdmi: Reset multiplier bits

This change resets the multiplier bits for ACR setup while
changing the sampling rate.

Change-Id: I2fefec8ca085d153e3fce2e1d670f0d650d2e96c
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Merge "msm: kgsl: Turn off the CP_DEBUG dynamic clock"
Merge "media: video: Properly handle lbuf overflow interrupt in vcap"
Merge "media: video: Allow for vcap vc to be paused and resumed"
ASoC: msm: Add 2 front ends to support Multiple playback use case

Add 2 FE to support multiple playback use case as mentioned
1) system tone
2) local file playback can have a multiChannel session and a
   stereo session based on the sink devices.
3) VCAP use case can similarly have a multiChannel session
   and a stereo session open.
4) Simultaneoulsy if PIP is started it can also have multiChannel
   session  and a stereo session open.
So in all we can have seven simultaneous PCM sessions open at a time.

Change-Id: Iae420729c9374d521dd719fac5538a643ba188b4
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
ASoC: msm: Add support Dolby Digital plus pass through on HDMI

Dolby Digital Plus decoder is supported on the HDMI sink. Add
support to pass through the Dolby Digital Plus in compressed
driver. The sample rate expected as per specification is 4 times
the native sample rate for clip. Add support in compressed and hdmi
driver to support up to 192000 Hz.

Change-Id: Ibe28ca2e88796abceaf15e8adca1d3bfc0744e3e
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
USB: hid: hid-core: Enable autosuspend feature for HID devices

Currently autosuspend feature is disabled by default in the kernel
due to issues with suspend/resume issues with some of the HID devices
available in the market. Enabling this autosuspend feature for HID devices
as this is the requirement on MPQ platform.

CRs-Fixed: 449642

Change-Id: Ic346cda1ea342a51bb396b854d153798730140d2
Signed-off-by: Sujeet Kumar <ksujeet@codeaurora.org>
Merge "USB: hid: hid-core: Enable autosuspend feature for HID devices"
Merge "ASoC: msm: Add 2 front ends to support Multiple playback use case"
Merge "ASoC: msm: Add support Dolby Digital plus pass through on HDMI"
Merge "msm_fb: hdmi: Reset multiplier bits"
Revert "USB: hid: hid-core: Enable autosuspend feature for HID devices"

This reverts commit ec0f68b97e50641474113055a6811b0b31077a7f.

Change-Id: Ife046d1f44670a9337d1d9e4f5bd12ccf58dd44e
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
Merge "Revert "USB: hid: hid-core: Enable autosuspend feature for HID devices""