Skip to content

Commit 085bc0e

Browse files
committed
bus: ti-sysc: Fix uninitialized framedonetv_irq
We are currently only setting the framedonetv_irq disabled for the SoCs that don't have it. But we are never setting it enabled for the SoCs that have it. Let's initialized it to true by default. Fixes: 7324a7a ("bus: ti-sysc: Implement display subsystem reset quirk") Cc: Laurent Pinchart <[email protected]> Cc: Tomi Valkeinen <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 08b91dd commit 085bc0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/bus/ti-sysc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,7 @@ static u32 sysc_quirk_dispc(struct sysc *ddata, int dispc_offset,
15521552
bool lcd_en, digit_en, lcd2_en = false, lcd3_en = false;
15531553
const int lcd_en_mask = BIT(0), digit_en_mask = BIT(1);
15541554
int manager_count;
1555-
bool framedonetv_irq;
1555+
bool framedonetv_irq = true;
15561556
u32 val, irq_mask = 0;
15571557

15581558
switch (sysc_soc->soc) {
@@ -1569,6 +1569,7 @@ static u32 sysc_quirk_dispc(struct sysc *ddata, int dispc_offset,
15691569
break;
15701570
case SOC_AM4:
15711571
manager_count = 1;
1572+
framedonetv_irq = false;
15721573
break;
15731574
case SOC_UNKNOWN:
15741575
default:

0 commit comments

Comments
 (0)