diff options
author | Tony Lindgren <tony@atomide.com> | 2020-10-26 09:08:47 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2020-10-26 09:08:53 +0100 |
commit | e7ae08d398e094e1305dee823435b1f996d39106 (patch) | |
tree | 4c4dbe1a92b11c5682e6dd96dc4fc3159a614485 /crypto/aead.c | |
parent | bus: ti-sysc: Fix reset status check for modules with quirks (diff) | |
download | linux-e7ae08d398e094e1305dee823435b1f996d39106.tar.xz linux-e7ae08d398e094e1305dee823435b1f996d39106.zip |
bus: ti-sysc: Fix bogus resetdone warning on enable for cpsw
Bail out early from sysc_wait_softreset() just like we do in sysc_reset()
if there's no sysstatus srst_shift to fix a bogus resetdone warning on
enable as suggested by Grygorii Strashko <grygorii.strashko@ti.com>.
We do not currently handle resets for modules that need writing to the
sysstatus register. If we at some point add that, we also need to add
SYSS_QUIRK_RESETDONE_INVERTED flag for cpsw as the sysstatus bit is low
when reset is done as described in the am335x TRM "Table 14-202
SOFT_RESET Register Field Descriptions"
Fixes: d46f9fbec719 ("bus: ti-sysc: Use optional clocks on for enable and wait for softreset bit")
Suggested-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'crypto/aead.c')
0 files changed, 0 insertions, 0 deletions