summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/mc13783-regulator.c
diff options
context:
space:
mode:
authorMark Zhang <markz@nvidia.com>2019-01-10 05:11:16 +0100
committerMark Brown <broonie@kernel.org>2019-01-10 13:07:29 +0100
commit0ab66b3c326ef8f77dae9f528118966365757c0c (patch)
treee4b3bf798f5288a6b7b0c27090dccb3b96e352a9 /drivers/regulator/mc13783-regulator.c
parentregulator: bcm590xx: Fix .enable_reg for BCM590XX_REG_VSR (diff)
downloadlinux-0ab66b3c326ef8f77dae9f528118966365757c0c.tar.xz
linux-0ab66b3c326ef8f77dae9f528118966365757c0c.zip
regulator: max77620: Initialize values for DT properties
If regulator DT node doesn't exist, its of_parse_cb callback function isn't called. Then all values for DT properties are filled with zero. This leads to wrong register update for FPS and POK settings. Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Signed-off-by: Mark Zhang <markz@nvidia.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/regulator/mc13783-regulator.c')
0 files changed, 0 insertions, 0 deletions