git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4841ae
)
misc: atsha204a: fix sleep function
author
Michał Barnaś
<barnas@google.com>
Mon, 19 Feb 2024 16:32:03 +0000
(16:32 +0000)
committer
Tom Rini
<trini@konsulko.com>
Tue, 5 Mar 2024 13:08:26 +0000
(08:08 -0500)
Fix the sleep function to issue the sleep command instead of idle one.
Signed-off-by: Michał Barnaś <barnas@google.com>
drivers/misc/atsha204a-i2c.c
patch
|
blob
|
history
diff --git
a/drivers/misc/atsha204a-i2c.c
b/drivers/misc/atsha204a-i2c.c
index
ab83bbc
..
29daefb
100644
(file)
--- a/
drivers/misc/atsha204a-i2c.c
+++ b/
drivers/misc/atsha204a-i2c.c
@@
-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)