fsi: scom: Remove retries in indirect scoms
authorJoel Stanley <joel@jms.id.au>
Tue, 7 Dec 2021 03:38:11 +0000 (14:08 +1030)
committerJoel Stanley <joel@jms.id.au>
Mon, 31 Jan 2022 05:26:55 +0000 (15:56 +1030)
commitab1b79159ad5a6dc4e4994b49737f7feb13b7155
tree30c6bf2f66945fb281c12bb2ce108a27364491b2
parentd46fddd52d11eb6a3a7ed836f9f273e9cf8cd01c
fsi: scom: Remove retries in indirect scoms

In commit f72ddbe1d7b7 ("fsi: scom: Remove retries") the retries were
removed from get and put scoms. That patch missed the retires in get and
put indirect scom.

For the same reason, remove them from the scom driver to allow the
caller to decide to retry.

This removes the following special case which would have caused the
retry code to return early:

 -       if ((ind_data & XSCOM_DATA_IND_COMPLETE) || (err != SCOM_PIB_BLOCKED))
 -               return 0;

I believe this case is handled.

Fixes: f72ddbe1d7b7 ("fsi: scom: Remove retries")
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20211207033811.518981-3-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-scom.c