diff options
author | Joachim Fenkes <FENKES@de.ibm.com> | 2020-07-24 09:15:17 +0200 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2021-06-04 07:53:40 +0200 |
commit | 95152433e46fdb36652ebdbea442356a16ae1fa6 (patch) | |
tree | 8a185dee5cef0a234193a789becc6919ad0de043 /drivers/fsi | |
parent | fsi: master-ast-cf: Remove redundant error printing in fsi_master_acf_probe() (diff) | |
download | linux-95152433e46fdb36652ebdbea442356a16ae1fa6.tar.xz linux-95152433e46fdb36652ebdbea442356a16ae1fa6.zip |
fsi/sbefifo: Clean up correct FIFO when receiving reset request from SBE
When the SBE requests a reset via the down FIFO, that is also the
FIFO we should go and reset ;)
Fixes: 9f4a8a2d7f9d ("fsi/sbefifo: Add driver for the SBE FIFO")
Signed-off-by: Joachim Fenkes <FENKES@de.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20200724071518.430515-2-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'drivers/fsi')
-rw-r--r-- | drivers/fsi/fsi-sbefifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fsi/fsi-sbefifo.c b/drivers/fsi/fsi-sbefifo.c index bfd5e5da8020..de27c435d706 100644 --- a/drivers/fsi/fsi-sbefifo.c +++ b/drivers/fsi/fsi-sbefifo.c @@ -400,7 +400,7 @@ static int sbefifo_cleanup_hw(struct sbefifo *sbefifo) /* The FIFO already contains a reset request from the SBE ? */ if (down_status & SBEFIFO_STS_RESET_REQ) { dev_info(dev, "Cleanup: FIFO reset request set, resetting\n"); - rc = sbefifo_regw(sbefifo, SBEFIFO_UP, SBEFIFO_PERFORM_RESET); + rc = sbefifo_regw(sbefifo, SBEFIFO_DOWN, SBEFIFO_PERFORM_RESET); if (rc) { sbefifo->broken = true; dev_err(dev, "Cleanup: Reset reg write failed, rc=%d\n", rc); |