Skip to content

Commit

Permalink
drivers/rtc/rtc-bq32k.c: fix register value
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reported-by: Mike Bremford <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
pavelmachek authored and torvalds committed Oct 29, 2014
1 parent 35dca71 commit 5a6e759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-bq32k.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5a6e759

Please sign in to comment.