Home
last modified time | relevance | path

Searched hist:"87919 e0cf166454caf202fcddeea42c8eba700ea" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/regulator/
H A Dfan53555.cdiff 87919e0cf166454caf202fcddeea42c8eba700ea Sun Feb 24 04:21:46 CET 2019 Axel Lin <axel.lin@ingics.com> regulator: fan53555: Check pdata->slew_rate setting

Current code does not really avoid array access out of bounds,
fix it by add checking for pdata->slew_rate.
If pdata->slew_rate is too big, it's a bug in pdata that needs fix.

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