diff options
author | Mark Zhang <markz@nvidia.com> | 2019-01-10 05:11:16 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-10 13:07:29 +0100 |
commit | 0ab66b3c326ef8f77dae9f528118966365757c0c (patch) | |
tree | e4b3bf798f5288a6b7b0c27090dccb3b96e352a9 /drivers/regulator/mc13783-regulator.c | |
parent | regulator: bcm590xx: Fix .enable_reg for BCM590XX_REG_VSR (diff) | |
download | linux-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