diff options
author | Sameer Pujar <spujar@nvidia.com> | 2019-01-22 13:03:20 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-01-22 09:21:56 +0100 |
commit | 707e0759f2f4aefcc5c3f08ce5fb9e98495fdc93 (patch) | |
tree | 03d5df1b09318a2638d8d970fb2e61379bfa7e6c /include/linux/crc7.h | |
parent | 091aa420530c1f0c93745dc9e506bfa96f898702 (diff) | |
download | linux-rt-707e0759f2f4aefcc5c3f08ce5fb9e98495fdc93.tar.gz |
ALSA: hda/tegra: implement runtime suspend/resume
This patch moves clock enable/disable from system resume/suspend to
runtime resume/suspend respectively. Along with this hda controller
chip init or stop is also moved. System resume/suspend can invoke
runtime callbacks and do necessary setup.
chip->running can be used to check for probe completion and device
access during runtime_resume or runtime_suspend can be avoided if
probe is not yet finished. This helps to avoid kernel panic during
boot where runtime PM callbacks can happen from system PM.
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/crc7.h')
0 files changed, 0 insertions, 0 deletions