mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
regulator: fan53555: fix up the tcs en\disable failed
TCS452x registers are special and different from others.
Fixes: eb1731965c ("regulator: fan53555: add support for Rockchip RK860X regulators")
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I7694defe4f090ff846dbdb88bad51efd07fa241c
This commit is contained in:
@@ -494,6 +494,9 @@ static int fan53555_voltages_setup_tcs(struct fan53555_device_info *di)
|
||||
di->vsel_step = 6250;
|
||||
di->n_voltages = FAN53555_NVOLTAGES_127;
|
||||
|
||||
di->en_reg = di->vol_reg;
|
||||
di->sleep_en_reg = di->sleep_reg;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user