ALSA: HDA: Fix HDA resume
authorSumit Bhattacharya <sumitb@nvidia.com>
Tue, 25 Jun 2013 12:47:52 +0000 (17:47 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:27:42 +0000 (13:27 -0700)
commit85d7f6c62f33b9a021e3fecbad53be979b5a2ed0
tree271c0ce313570f8f79de55e09fa9d8d3507b8f77
parent569e0a1cab2d32c3fd82da569f6aa3c78cc72b3d
ALSA: HDA: Fix HDA resume

Remove deprecated CONFIG_SND_HDA_POWER_SAVE. Also increment pm
runtime sync reference count from azx_resume to ensure runtime
suspend is called only when pm_notify gets called.

Without this change HDA runtime suspend gets called just after
HDA resume and HDA controller is powered down and when power
worker queue tries to power down HDA after some time HDA driver
hangs.

Bug 1312405

Change-Id: I55580f8a9c6f9ff18b41ab0195c21e841f2228b2
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/241936
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
sound/pci/hda/hda_intel.c