Re: [PATCH RESEND] regulator: max77620: Fix regulator info setting for max20024

2019-04-22 Thread Dmitry Osipenko
22.04.2019 14:39, Dmitry Osipenko пишет: > 22.04.2019 8:35, Axel Lin пишет: >> Current code always set pmic->rinfo[id] = &max77620_regs_info[id]; >> It should set to either max77620_regs_info or max20024_regs_info >> depends on the chip_id. >> >> Signed-off-by: Axel Lin >> --- >> This was sent on

Re: [PATCH RESEND] regulator: max77620: Fix regulator info setting for max20024

2019-04-22 Thread Dmitry Osipenko
22.04.2019 8:35, Axel Lin пишет: > Current code always set pmic->rinfo[id] = &max77620_regs_info[id]; > It should set to either max77620_regs_info or max20024_regs_info > depends on the chip_id. > > Signed-off-by: Axel Lin > --- > This was sent on https://lkml.org/lkml/2019/2/23/482 > > drivers

[PATCH RESEND] regulator: max77620: Fix regulator info setting for max20024

2019-04-21 Thread Axel Lin
Current code always set pmic->rinfo[id] = &max77620_regs_info[id]; It should set to either max77620_regs_info or max20024_regs_info depends on the chip_id. Signed-off-by: Axel Lin --- This was sent on https://lkml.org/lkml/2019/2/23/482 drivers/regulator/max77620-regulator.c | 2 +- 1 file chan