diff options
| author | Tom Rini <[email protected]> | 2022-08-09 08:16:14 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-08-09 08:16:14 -0400 |
| commit | 3dd4e916324efc825a7ee8e412f5cf1ded839021 (patch) | |
| tree | f5bc31b924554a99facd7e150870b42824640e03 /drivers/misc | |
| parent | af7d151b8eaa56aaf61beb38248ce45b7ca017a8 (diff) | |
| parent | ca514d0267f92d8aac2eb5f92ff7d150078df423 (diff) | |
Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
- mvebu/turris_omina: Misc fixes and improvements (Pali & Marek)
- mvebu: spl: Always fallback to BootROM boot method (Pali)
- mvebu: Cleanup u-boot,dm-pre-reloc code (Pali)
- gpio: Remove mvgpio driver (Chris)
- SBx81LIFKW/SBx81LIFXCAT disable KIRKWOOD_GPIO (Chris)
- misc: atsha204a: Don't check for error when waking up the device (Pali)
Diffstat (limited to 'drivers/misc')
| -rw-r--r-- | drivers/misc/atsha204a-i2c.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/misc/atsha204a-i2c.c b/drivers/misc/atsha204a-i2c.c index e7c6be593dc..d3c515828ff 100644 --- a/drivers/misc/atsha204a-i2c.c +++ b/drivers/misc/atsha204a-i2c.c @@ -103,12 +103,13 @@ int atsha204a_wakeup(struct udevice *dev) for (try = 1; try <= 10; ++try) { debug("Try %i... ", try); + /* + * The device ignores any levels or transitions on the SCL pin + * when the device is idle, asleep or during waking up. + * Don't check for error when waking up the device. + */ memset(req, 0, 4); - res = atsha204a_send(dev, req, 4); - if (res) { - debug("failed on I2C send, trying again\n"); - continue; - } + atsha204a_send(dev, req, 4); udelay(ATSHA204A_TWLO_US + ATSHA204A_TWHI_US); |
