]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: split wfx_get_ps_timeout() from wfx_update_pm()
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 26 May 2020 17:18:17 +0000 (19:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 May 2020 08:18:09 +0000 (10:18 +0200)
commit03eb50695882c70b0664ab5745105d62eb5503b9
tree24d095fd60df69a9910177ebdd71787fbb7f81fc
parent892d1b2728d5a368b9e94b77a752141ceca06138
staging: wfx: split wfx_get_ps_timeout() from wfx_update_pm()

In the next commit, we will have to compute the PS timeout without
changing the power save status of the device. This patch introduces
wfx_get_ps_timeout() for that job and make wfx_update_pm() relies on it.

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