ASoC: Tegra: Acquire wake_lock during playback capture
authorSumit Bhattacharya <sumitb@nvidia.com>
Wed, 7 Dec 2011 12:28:14 +0000 (17:28 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 24 Mar 2012 08:57:38 +0000 (01:57 -0700)
commitf66a68a9d8a5ac5e0d51a96f66ef25d58c7e532e
treefeaf08ef78a56ad73f008dff2d37852f7160a011
parentb8b15381617ef9f3309038857f0eea737b5a298f
ASoC: Tegra: Acquire wake_lock during playback capture

Acquire wake_lock from alsa kernel when pcm playback/capture
starts and hold it until playack/capture ends. It is needed
to prevent device from going into suspend state in middle
of audio playback.

Change-Id: I71e5fae0268f73a3e57f8d886c1b228d46899ea4
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/68671
Reviewed-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: R6fea7e61615ca45f612e462c5aa58ec40f6eb979
sound/soc/tegra/tegra_pcm.c
sound/soc/tegra/tegra_pcm.h