OSDN Git Service

bus: ti-sysc: Fix quirk flags for lcdc on am335x
authorTony Lindgren <tony@atomide.com>
Mon, 9 Mar 2020 16:41:14 +0000 (09:41 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 9 Mar 2020 16:41:14 +0000 (09:41 -0700)
commitcfaf6051eccc7b8b2354f68c5125d2497b046052
tree2aaeed64ad7e9697fd7a8c35b32444a35c4f0860
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
bus: ti-sysc: Fix quirk flags for lcdc on am335x

Commit adb72394e2ab ("ARM: OMAP2+: Drop legacy platform data for am3
lcdc") dropped legacy platform data but we never added the quirks for
SWSUP_SIDLE and SWSUP_MSTANDBY for lcdc for ti-sysc driver.

This breaks suspend/resume. Let's fix the issue by enabling the same
quirks for ti-sysc driver as we had earlier with platform data.

Fixes: adb72394e2ab ("ARM: OMAP2+: Drop legacy platform data for am3 lcdc")
Fixes: 23731eac9848 ("bus: ti-sysc: Detect devices on am335x when DEBUG is enabled")
Reported-by: Keerthy <j-keerthy@ti.com>
Cc: Jyri Sarha <jsarha@ti.com>
Cc: Keerthy <j-keerthy@ti.com>
Cc: Dave Gerlach <d-gerlach@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>
Tested-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c