]> git.baikalelectronics.ru Git - kernel.git/commit
bus: ti-sysc: Fix handling of forced idle
authorTony Lindgren <tony@atomide.com>
Mon, 22 Jul 2019 10:44:42 +0000 (03:44 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 24 Jul 2019 07:50:01 +0000 (00:50 -0700)
commit36312c045d44ef3eb4654f6b6cb1d05bd22ef155
tree2e31ae9981cd76bb468281e1555ce303568a3e08
parent5aa617395e06a6993739f85f39676792d39586d7
bus: ti-sysc: Fix handling of forced idle

For some devices we can get the following warning on boot:

ti-sysc 48485200.target-module: sysc_disable_module: invalid midlemode

Fix this by treating SYSC_IDLE_FORCE like we do for the other bits
for idlemodes mask.

Fixes: fdd76c85967e ("bus: ti-sysc: Add generic enable/disable functions")
Cc: Roger Quadros <rogerq@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c