fsi: aspeed: Reset master errors after CFAM reset
authorEddie James <eajames@linux.ibm.com>
Mon, 12 Jun 2023 19:56:50 +0000 (14:56 -0500)
committerJoel Stanley <joel@jms.id.au>
Wed, 9 Aug 2023 06:13:28 +0000 (15:43 +0930)
commit52300909f4670ac552bfeb33c1355b896eac8c06
treeea857fb7d4b241c450ca59b8448a181809875a8f
parent2f42220f350049e15df026ad87be36d967102cbf
fsi: aspeed: Reset master errors after CFAM reset

It has been observed that sometimes the FSI master will return all 0xffs
after a CFAM has been taken out of reset, without presenting any error.
Resetting the FSI master errors resolves the issue.

Fixes: 4a851d714ead ("fsi: aspeed: Support CFAM reset GPIO")
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20230612195657.245125-8-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-master-aspeed.c