Messages in this thread | | | From | Axel Lin <> | Date | Wed, 4 Apr 2012 20:26:48 +0800 | Subject | Re: [PATCH] regulator: Support set_voltage_time_sel for drivers implement set_voltage |
| |
2012/4/4 Axel Lin <axel.lin@gmail.com>: > In currently implementation of _regulator_do_set_voltage, set_voltage_time_sel will > only be called if set_voltage_sel is implemented. > > set_voltage_time_sel actually only needs get_voltage_sel to get old_selector. > > This patch makes regulator core support set_voltage_time_sel for drivers > implement either set_voltage or set_voltage_sel. > > Signed-off-by: Axel Lin <axel.lin@gmail.com>
I forgot to mention that s5m8767 needs this patch to work. s5m8767 implements set_voltage, get_voltage_sel and set_voltage_time_sel callbacks.
Regards, Axel
| |