]> git.baikalelectronics.ru Git - kernel.git/commit
bus: tegra-aconnect: add system sleep callbacks
authorSameer Pujar <spujar@nvidia.com>
Wed, 13 Mar 2019 04:41:59 +0000 (10:11 +0530)
committerThierry Reding <treding@nvidia.com>
Thu, 28 Mar 2019 16:26:14 +0000 (17:26 +0100)
commita6a86594d1953b6c45ac0fa465a1190caa24cf8e
tree6cca83d8473e513b4f1351d9c300e9f47de276fe
parent220c9e34c3e937b0ff023c1e1c9501a9a4a2b8ed
bus: tegra-aconnect: add system sleep callbacks

pm_runtime_force_suspend() and pm_runtime_force_resume() are used as system
sleep noirq suspend and resume callbacks. If the driver is active till late
suspend, where runtime PM cannot run, force suspend is essential for the
device. This makes sure that the device is put into low power state during
system wide PM transitions to sleep states.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/bus/tegra-aconnect.c