mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
wm831x_power: Remove duplicate chg mask
Reported-by: Julia Lawall <julia@diku.dk> Signed-off-by: Ian Lartey <ian@opensource.wolfsonmicro.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
This commit is contained in:
parent
fd0964c5f1
commit
2d98dae206
1 changed files with 0 additions and 1 deletions
|
@ -267,7 +267,6 @@ static void wm831x_config_battery(struct wm831x *wm831x)
|
|||
ret = wm831x_set_bits(wm831x, WM831X_CHARGER_CONTROL_1,
|
||||
WM831X_CHG_ENA_MASK |
|
||||
WM831X_CHG_FAST_MASK |
|
||||
WM831X_CHG_ITERM_MASK |
|
||||
WM831X_CHG_ITERM_MASK,
|
||||
reg1);
|
||||
if (ret != 0)
|
||||
|
|
Loading…
Reference in a new issue