OSDN Git Service

fsi/fsi-master-gpio: More error handling cleanup
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 15 May 2018 03:40:21 +0000 (13:40 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 12 Jun 2018 04:05:23 +0000 (14:05 +1000)
commitc49e34401a32acc05bafec2b3d28d8e58410724c
treec465d8e3f5384a97bff39d9e6e14513056dba68f
parent4e56828a5db19e2de8f8dc464c6df2e7e9ff4e13
fsi/fsi-master-gpio: More error handling cleanup

Remove calls to the empty and useless fsi_master_gpio_error()
function, and report CRC errors as "FSI_ERR_NO_SLAVE" when
reading an all 1's response.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Tested-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-master-gpio.c