diff options
author | Pali Rohár | 2022-08-04 13:03:44 +0200 |
---|---|---|
committer | Stefan Roese | 2022-08-09 10:01:31 +0200 |
commit | ca514d0267f92d8aac2eb5f92ff7d150078df423 (patch) | |
tree | 2e7942e990eb7417a056f1bc232e1c1e29900f3d /drivers/w1-eeprom | |
parent | ca3756c86b0ae997699abac7c5371550dd4842a0 (diff) |
misc: atsha204a: Don't check for error when waking up the device
The device ignores any levels or transitions on the SCL pin when the device
is idle, asleep or during waking up.
Linux kernel driver for atsha204a (atmel-sha204a.ko) also ignores return
value from i2c wakeup send command, see:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/crypto/atmel-i2c.c?h=v5.19#n174
And also userspace Turris libatsha204 library ignores return value from
wakeup send command, see:
https://gitlab.nic.cz/turris/libatsha204/-/blob/v29.2/src/libatsha204/layer_ni2c.c#L75-76
U-Boot driver should do same thing.
Fixes waking up ATSHA204 on Turris 1.x boards.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Paweł Anikiel <pan@semihalf.com>
Reviewed-by: Marek Behún <kabel@kernel.org>
Diffstat (limited to 'drivers/w1-eeprom')
0 files changed, 0 insertions, 0 deletions