fsi: scom: Remove retries
authorJoel Stanley <joel@jms.id.au>
Thu, 27 May 2021 07:01:09 +0000 (16:31 +0930)
committerJoel Stanley <joel@jms.id.au>
Fri, 4 Jun 2021 04:54:02 +0000 (14:24 +0930)
commitf72ddbe1d7b7d0b2a1179a8dded704ed87001351
tree10d24280abfeb3ffa230e9458df66d7a90bd6399
parenta5c317dac5567206ca7b6bc9d008dd6890c8bced
fsi: scom: Remove retries

On a functioning FSI link there is not need to retry a write when doing
a scom in the driver.

Allow the higher layers (eg. userspace) to attempt a retry if they want,
or to accept that the address they are talking to is not accessible.

By removing the retries we can separate the error handling from retry
logic. In particular -EBUSY was used to force the get/put scom logic to
retry.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210527070109.225198-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-scom.c