diff options
author | Tony Lindgren <tony@atomide.com> | 2018-02-15 20:18:55 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-02-15 20:18:55 +0300 |
commit | d39b6ea4f8c90e9e5f03a06b6a4fd4af11e2f617 (patch) | |
tree | 5712a3017c366c97b3a1c52a5d7a874323088fbb /drivers/bus/ti-sysc.c | |
parent | 84c7efd607e7fb6933920322086db64654f669b2 (diff) | |
download | linux-d39b6ea4f8c90e9e5f03a06b6a4fd4af11e2f617.tar.xz |
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>
Diffstat (limited to 'drivers/bus/ti-sysc.c')
-rw-r--r-- | drivers/bus/ti-sysc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c index 4d46003c46cf..cdaeeea7999c 100644 --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -630,7 +630,7 @@ static int sysc_init_dts_quirks(struct sysc *ddata) for (i = 0; i < ARRAY_SIZE(sysc_dts_quirks); i++) { prop = of_get_property(np, sysc_dts_quirks[i].name, &len); if (!prop) - break; + continue; ddata->cfg.quirks |= sysc_dts_quirks[i].mask; } |