diff options
author | Axel Lin <axel.lin@ingics.com> | 2021-05-19 15:22:55 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-05-19 15:31:43 +0200 |
commit | 687c9e3b1a81d43b233482f781bd4e20561bc390 (patch) | |
tree | e0c1dd680ab6b614f0d0fccbf968fdf1d90912d5 /kernel/configs/xen.config | |
parent | regulator: fan53880: Fix missing n_voltages setting (diff) | |
download | linux-687c9e3b1a81d43b233482f781bd4e20561bc390.tar.xz linux-687c9e3b1a81d43b233482f781bd4e20561bc390.zip |
regulator: Check ramp_delay_table for regulator_set_ramp_delay_regmap
Return -EINVAL if ramp_delay_table is NULL.
Also add WARN_ON since the driver code needs fix if this happened.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20210519132255.1683863-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/configs/xen.config')
0 files changed, 0 insertions, 0 deletions