]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
memstick: rtsx_usb_ms: Add missing pm_runtime_disable() in probe function
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Mon, 5 Nov 2018 08:45:02 +0000 (16:45 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000 (08:26 +0100)
commit01a7e8e066a505933b43a8df6da1ae1a1e7bddf2
tree4899639ec9c73b84b2933e9b9099cbfe306438cb
parent4dad599b8b5d1ffc5ef12a2edb13d15d537202ba
memstick: rtsx_usb_ms: Add missing pm_runtime_disable() in probe function

If the probe fails, we should use pm_runtime_disable() to balance
pm_runtime_enable().

Add missing pm_runtime_disable() for rtsx_usb_ms.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/memstick/host/rtsx_usb_ms.c