summaryrefslogtreecommitdiff
path: root/cmd/scsi.c
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2022-03-24 08:32:00 -0700
committerTom Rini <trini@konsulko.com>2022-03-31 08:27:51 -0400
commit051df08fe072c3790c159d7b9966513325eb04ec (patch)
treeec17dfaa9fb3431312dae1d6841bd2f7aea08489 /cmd/scsi.c
parent0c60b657d8455784a58bfe08acff66a43dfccaad (diff)
downloadu-boot-051df08fe072c3790c159d7b9966513325eb04ec.tar.gz
board: gw_ventana: gsc: fix GSC read/write functions
commit 7c84319af9c7 ("dm: gpio: Correct use of -ENODEV in drivers") changed the return code for an I2C NAK from -ENODEV to -EREMOTEIO. Update the gsc_i2c_read and gsc_i2c_write functions for this change to properly retry the transaction on a NAK meaning the GSC is busy. Fixes: 7c84319af9c7 ("dm: gpio: Correct use of -ENODEV in drivers") Signed-off-by: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'cmd/scsi.c')
0 files changed, 0 insertions, 0 deletions