aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorMarco Felsch <[email protected]>2019-09-17 17:40:21 +0200
committerMark Brown <[email protected]>2019-09-17 16:59:38 +0100
commitf8970d341eec73c976a3462b9ecdb02b60b84dd6 (patch)
tree95099c8b375d20b6f445644923d40ebaae3c7348 /scripts/gdb/linux/modules.py
parent131cb1210d4b58acb0695707dad2eb90dcb50a2a (diff)
regulator: core: make regulator_register() EPROBE_DEFER aware
Sometimes it can happen that the regulator_of_get_init_data() can't retrieve the config due to a not probed device the regulator depends on. Fix that by checking the return value of of_parse_cb() and return EPROBE_DEFER in such cases. Signed-off-by: Marco Felsch <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions