summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorMatti Vaittinen <mazziesaccount@gmail.com>2026-04-07 15:41:48 +0300
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-04-08 09:14:42 +0200
commit828ec7f803f41588a120e6d804297e74a482ab9d (patch)
treea62e46130d23ba57ef3adf876ee93fd8cdb21fb5 /tools/lib/python
parent591cd656a1bf5ea94a222af5ef2ee76df029c1d2 (diff)
gpio: bd72720: handle missing regmap
Currently the probe does not check whether getting the regmap succeeded. This can cause crash when regmap is used, if it wasn't successfully obtained. Failing to get the regmap is unlikely, especially since this driver is expected to be kicked by the MFD driver only after registering the regmap - but it is still better to handle this gracefully. Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com> Fixes: e7eef0bd4075 ("regulator: bd71828-regulator.c: Fix LDON-HEAD mode") Link: https://patch.msgid.link/5bfffee380863bcf24f3062e48094c8eb7b1342f.1775565381.git.mazziesaccount@gmail.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions