]> git.openfabrics.org - ~emulex/infiniband.git/commit
regulator: 88pm8607: Fix writting value to vol_reg in pm8607_set_voltage_sel
authorAxel Lin <axel.lin@gmail.com>
Thu, 19 Apr 2012 03:15:58 +0000 (11:15 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 19 Apr 2012 12:45:19 +0000 (13:45 +0100)
commita67f7e6b601ab55067d02de42e89be34c4b6f345
treef67fa025deae9c062e633937d6dcb15bde69527a
parenta81edbdeb68bbecb3ee2888da7a83662ae69c9f3
regulator: 88pm8607: Fix writting value to vol_reg in pm8607_set_voltage_sel

commit 4ca1e1d "regulator: Convert 88pm8607 to set_voltage_sel" accidentally
changed the value writing to vol_reg.
What we want is to write val instead of selector to vol_reg.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/88pm8607.c