OSDN Git Service

slimbus: messaging: remove multiple calls to pm_runtime_mark_last_busy
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 19 Jun 2018 15:12:03 +0000 (16:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jul 2018 15:23:12 +0000 (17:23 +0200)
commit057ba872d0adc9b512e455f38159f1c3616b616c
tree1074d56a7f4b724a46602800cd69636acc55ef1b
parent8134d27103b35dbdc94d762f82ca0bfb00f349ff
slimbus: messaging: remove multiple calls to pm_runtime_mark_last_busy

There seems to be a multiple calls to pm_runtime_mark_last_busy(),
which looks like a typo.
Fix this by properly adding pm_runtime_put_autosuspend to put controller
in auto suspend state.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/slimbus/messaging.c