summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2023-08-02 09:49:57 +0200
committerTony Lindgren <tony@atomide.com>2023-08-02 09:49:57 +0200
commit27c146e3de9bb2ac31402660ccea43a374701e68 (patch)
tree8dd9b85a3f1271ce9b01af6796196734573b16fc /drivers
parentLinux 6.5-rc1 (diff)
parentbus: ti-sysc: Flush posted write on enable before reset (diff)
downloadlinux-27c146e3de9bb2ac31402660ccea43a374701e68.tar.xz
linux-27c146e3de9bb2ac31402660ccea43a374701e68.zip
Merge branch 'omap-for-v6.5/ti-sysc' into omap-for-v6.5/fixes
Merge in a missed change into fixes. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/bus/ti-sysc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c
index 21fe9854703f..4cb23b9e06ea 100644
--- a/drivers/bus/ti-sysc.c
+++ b/drivers/bus/ti-sysc.c
@@ -2142,6 +2142,8 @@ static int sysc_reset(struct sysc *ddata)
sysc_val = sysc_read_sysconfig(ddata);
sysc_val |= sysc_mask;
sysc_write(ddata, sysc_offset, sysc_val);
+ /* Flush posted write */
+ sysc_val = sysc_read_sysconfig(ddata);
}
if (ddata->cfg.srst_udelay)