mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
drivers/rtc/rtc-bq32k.c: fix register value
Fix register value in bq32000 trickle charging. Mike reported that I'm using wrong value in one trickle-charging case, and after checking docs, I must admit he's right. Signed-off-by: Pavel Machek <pavel@denx.de> Reported-by: Mike Bremford <mike@bfo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
35dca71c1f
commit
5a6e7599d3
@ -160,7 +160,7 @@ static int trickle_charger_of_init(struct device *dev, struct device_node *node)
|
||||
dev_err(dev, "bq32k: diode and resistor mismatch\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
reg = 0x25;
|
||||
reg = 0x45;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user