regulator: da9055: Fix checking wrong value in da9055_gpio_init
authorAxel Lin <axel.lin@ingics.com>
Thu, 15 Nov 2012 16:35:14 +0000 (00:35 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 16 Nov 2012 00:46:57 +0000 (09:46 +0900)
commit26cbd3073394b966654294c8cb9cb2fec870c567
tree6d9b035d8ca27d4f4f1db8a171682ed843082056
parentf6130be652d0b4fbf710d83a816298c007e59ed1
regulator: da9055: Fix checking wrong value in da9055_gpio_init

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 <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/da9055-regulator.c
This page took 0.025046 seconds and 5 git commands to generate.