asoc: wcd: acquire wakelock during cable detection

There could be race condition that suspend is called
even before the detection is completed which can
result in high power numbers. Make sure device doesn't
go to suspend until the detection logic is completed.

Change-Id: I38d049b020137562aa4b5cb7c335781b3d4ada16
Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
Merge "asoc: wcd: acquire wakelock during cable detection"
media: dvb: check filter is valid for fullness callback

In PULL mode, all relevant filters' buffer space is checked
to ensure sufficient space or otherwise blocking untill it
becomes available. As callback might sleep it is called without
holding any locks. So at this time, just before the callback executes,
the filter might have been closed by a different thread.
To prevent invalid access, verify in the callback that filter is still
valid.

Change-Id: Ie07ac5d17942ef39d12e4eed3078e382c956fe2e
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
media: dvb: check filter is valid for fullness callback

In PULL mode, all relevant filters' buffer space is checked
to ensure sufficient space or otherwise blocking untill it
becomes available. As callback might sleep it is called without
holding any locks. So at this time, just before the callback executes,
the filter might have been closed by a different thread.
To prevent invalid access, verify in the callback that filter is still
valid.

Change-Id: Ie07ac5d17942ef39d12e4eed3078e382c956fe2e
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Merge "media: dvb: check filter is valid for fullness callback"
Merge "media: dvb: check filter is valid for fullness callback"
Update to AU_LINUX_ANDROID_LNX.LA.3.5.2.1.04.04.02.060.146

Change-Id: I5cad7634c353ae695c5e7b3489ba08d5516dec66
Signed-off-by: B2G User <b2guser@localhost>
Merge "Update to AU_LINUX_ANDROID_LNX.LA.3.5.2.1.04.04.02.060.146"