]> git.baikalelectronics.ru Git - kernel.git/commit
bus: ti-sysc: Fix missing force mstandby quirk handling
authorTony Lindgren <tony@atomide.com>
Mon, 9 Dec 2019 21:55:15 +0000 (13:55 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 10 Dec 2019 15:18:21 +0000 (07:18 -0800)
commit2627dbe63c26e20666323fb148ba928b3c65decd
tree7b2a5baf349bb85ef1d8fdb38b51e3abb9e857d7
parent7855fcc07be326322b44982a21760fd9bd8e2b92
bus: ti-sysc: Fix missing force mstandby quirk handling

Commit 4a626b0febbb ("bus: ti-sysc: Handle mstandby quirk and use it for
musb") added quirk handling for mstandby quirk but did not consider that
we also need a quirk variant for SYSC_QUIRK_FORCE_MSTANDBY.

We need to use forced idle mode for both SYSC_QUIRK_SWSUP_MSTANDBY and
SYSC_QUIRK_FORCE_MSTANDBY, but SYSC_QUIRK_SWSUP_MSTANDBY also need to
additionally also configure no-idle mode when enabled.

Fixes: 4a626b0febbb ("bus: ti-sysc: Handle mstandby quirk and use it for musb")
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c
include/linux/platform_data/ti-sysc.h