regulator: s5m8767: Fix to read the first DVS register.
authorAmit Daniel Kachhap <amit.daniel@samsung.com>
Mon, 10 Dec 2012 12:49:40 +0000 (18:19 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 11 Dec 2012 03:44:05 +0000 (12:44 +0900)
commitda130ab2dfd5201d5c09e83882f30d62f29ab5f5
treede9159b9db7c64a1db598f659a816c6ecc5404a4
parent9bb096ff375f41e4c22000fd21f0ed01e2348c3e
regulator: s5m8767: Fix to read the first DVS register.

This patch modifies the DVS register read function to select correct DVS1
register. This change is required because the GPIO select pin is 000 in
unintialized state and hence selects the DVS1 register.

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/s5m8767.c