regulator: bcm590xx: Fix .enable_reg for BCM590XX_REG_VSR
authorAxel Lin <axel.lin@ingics.com>
Sat, 5 Jan 2019 03:28:17 +0000 (11:28 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 7 Jan 2019 16:12:33 +0000 (16:12 +0000)
commitd6afa2bed00486767fd5f3255cc89c05ccb70c0a
tree06da6d09986598e74ae5e5d30202997d7c1fb6f9
parent526d02dd37b9875ed7fc43ee741cdb2e19544c5d
regulator: bcm590xx: Fix .enable_reg for BCM590XX_REG_VSR

Current implementation missed the case BCM590XX_REG_VSR, so
bcm590xx_get_enable_register() returns 0 when id is BCM590XX_REG_VSR.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/bcm590xx-regulator.c