]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: wfx: do not try to save call to hif_set_pm()
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:15:16 +0000 (16:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:56:17 +0000 (15:56 +0100)
commit3f97c37063bca3948cbb8a2275f34dba7e86d025
tree0c6163aaddacd89b066dc345083e86af7d9c3211
parent50ad848cc6d6c6290a38b62ea60abefb903396d3
staging: wfx: do not try to save call to hif_set_pm()

Current code try to not exchange data with device if it is not
necessary. However, it seems that the additional code does not provide
any gain. So, we prefer to keep a simpler code.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-36-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/sta.c