Re: [PATCH RFT] regulator: da9055: Fix checking wrong value in da9055_gpio_init

2012-11-15 Thread Mark Brown
On Fri, Nov 16, 2012 at 12:35:14AM +0800, Axel Lin wrote: > Check pdata->gpio_rsel && pdata->gpio_rsel[id] for the case GPI pin is muxed > with regulator to select the regulator register set A/B for voltage ramping. Applied, thanks. Can revert if it's not a good fix. signature.asc Description:

[PATCH RFT] regulator: da9055: Fix checking wrong value in da9055_gpio_init

2012-11-15 Thread Axel Lin
Check pdata->gpio_rsel && pdata->gpio_rsel[id] for the case GPI pin is muxed with regulator to select the regulator register set A/B for voltage ramping. Signed-off-by: Axel Lin --- Hi Ashish, I'm wondering if this is a typo or I misunderstand the code. Axel drivers/regulator/da9055-regulator.c