Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bus: ti-sysc: Fix checking of no-reset-on-init quirk

We are currently only checking for the first entry in the table while
we should check them all. Usual no-idle-on-init is together with
no-reset-on-init, so this has gone unnoticed.

Fixes: 566a9b05e1fa ("bus: ti-sysc: Handle module quirks based dts
configuration")
Signed-off-by: Tony Lindgren <tony@atomide.com>

+1 -1
+1 -1
drivers/bus/ti-sysc.c
··· 630 630 for (i = 0; i < ARRAY_SIZE(sysc_dts_quirks); i++) { 631 631 prop = of_get_property(np, sysc_dts_quirks[i].name, &len); 632 632 if (!prop) 633 - break; 633 + continue; 634 634 635 635 ddata->cfg.quirks |= sysc_dts_quirks[i].mask; 636 636 }