USB: ci13xxx_udc: Don't free dTD immediately after active bit is cleared

USB controller may access the dTD one more time after clearing the active
bit in token field.  There is a possibility of software freeing it in this
window.  When this happens, USB controller may access incorrect memory and
leads to system level issues.

dTDs are freed when requests are freed by function drivers during
disconnect or unbind.  The above race condition will come into effect only
for zero length packets.  dTDs are dynamically created for sending zero
length packets on IN endpoints.  These dTDs are immediately freed after
active bit is cleared.  Defer this to next dTD completion.  It is safe to
assume that hardware will no longer access the previous dTD when the next
dTD is completed.

Don't allocate/free setup status phase and GET_STATUS data phase requests
dynamically.  Use  one request for both cases and allocate it during bind.

CRs-Fixed: 474557
Change-Id: I5d41c310e1bb35d93b5af7d90a24ce5aab24f5f9
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
msm: rotator: Add proper checks for enabling Fast YUV

For rotator version 2.0 and above, there is support for fast
YUV which gives better rotator performance. However, there are
few constraints related to height under which fast YUV cannot be
enabled when 90 degree rotation is enabled. Make sure
to add proper checks before enabling fast YUV.

Change-Id: Iafd204a6e4ef09e1151d01d8fde35359b7c3b7a5
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
ASoC: PCM: Mute codec dai irrespective of stream type

Currently Mute on the codec dai is invoked only for playback stream.
Codec can have functionality to mute the capture stream as well.
Invoke Mute for codec always, irrespective of stream type whenever
the stream is closed.

Change-Id: I35a77142f537740717d6213e6f07e98c1f5ae783
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
ASoC: wcd9304: Add digital mute capabilities for TX path

ALSA supports digital mute capabilities, wherein the stream is muted
during stream closure and unmuted during stream open. Add digital
mute functionality in wcd9304 codec

Change-Id: I5dc21bd49ef4dbb97346dced7f6219040745330b
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
msm_fb: hdmi: HPD disconnect during HDCP authentication

The change handles the cases where HPD cable disconnect event
is received or cable is already disconnected while doing the
HDCP authentication. It will make the reauthentication to trigger.

CRs-Fixed: 483920
Change-Id: Ia14ea276e3052c0fffb0cca66a860809f57df58a
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Merge "ASoC: PCM: Mute codec dai irrespective of stream type"
Merge "ASoC: wcd9304: Add digital mute capabilities for TX path"
Merge "USB: ci13xxx_udc: Don't free dTD immediately after active bit is cleared"
Merge "msm: rotator: Add proper checks for enabling Fast YUV"
Merge "msm_fb: hdmi: HPD disconnect during HDCP authentication"