summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-03-07 16:17:59 +0100
committerLee Jones <lee.jones@linaro.org>2021-03-18 11:46:15 +0000
commit505eb8df97d9a6c51f5168f69984d116e9c27470 (patch)
treef957dd3bcc1f174b2d071e3d34a0453a9d113df6 /sound
parentece2619fe8edc703b872136057090627e8a19ab4 (diff)
downloadlinux-stable-505eb8df97d9a6c51f5168f69984d116e9c27470.tar.gz
linux-stable-505eb8df97d9a6c51f5168f69984d116e9c27470.tar.bz2
linux-stable-505eb8df97d9a6c51f5168f69984d116e9c27470.zip
extcon: arizona: Always use pm_runtime_get_sync() when we need the device to be awake
Before this commit the extcon-arizona code was mixing pm_runtime_get() and pm_runtime_get_sync() in different places. In all places where pm_runtime_get[_sync]() is called, the code makes use of the device immediately after the call. This means that we should always use pm_runtime_get_sync(). Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Tested-by: Charles Keepax <ckeepax@opensource.cirrus.com> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions