mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-27 06:14:41 +00:00
misc: atsha204a: fix sleep function
Fix the sleep function to issue the sleep command instead of idle one. Signed-off-by: Michał Barnaś <barnas@google.com>
This commit is contained in:
parent
c4841ae405
commit
6e0d4a7e02
@ -139,7 +139,7 @@ int atsha204a_idle(struct udevice *dev)
|
||||
int atsha204a_sleep(struct udevice *dev)
|
||||
{
|
||||
int res;
|
||||
u8 req = ATSHA204A_FUNC_IDLE;
|
||||
u8 req = ATSHA204A_FUNC_SLEEP;
|
||||
|
||||
res = atsha204a_send(dev, &req, 1);
|
||||
if (res)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user