]> git.karo-electronics.de Git - linux-beck.git/commit
spmi: remove wakeup command before slave probe
authorGilad Avidov <gavidov@codeaurora.org>
Wed, 25 Mar 2015 17:37:31 +0000 (11:37 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 22:51:36 +0000 (23:51 +0100)
commit0b9641f5722a9c08cacb534d633ff469ab02a288
tree4f34055a6219114cf4ad01244400d35125eadd1f
parent03515f323c3766f0a69b62743794577bbd9f87c9
spmi: remove wakeup command before slave probe

According to spmi spec a slave powers up into startup state and then
transitions into active state. Thus, the wakeup command is not required
before calling the slave's probe. The wakeup command is only needed for
slaves that are in sleep state after receiving the sleep command.

Cc: galak@codeaurora.org
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Sagar Dharia <sdharia@codeaurora.org>
Acked-by: Josh Cartwright <joshc@eso.teric.us>
Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>
Tested-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spmi/spmi.c