diff options
author | Axel Lin <[email protected]> | 2021-05-19 21:22:55 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-05-19 14:31:43 +0100 |
commit | 687c9e3b1a81d43b233482f781bd4e20561bc390 (patch) | |
tree | e0c1dd680ab6b614f0d0fccbf968fdf1d90912d5 /drivers/fpga/fpga-bridge.c | |
parent | 34991ee96fd8477479dd15adadceb6b28b30d9b0 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions