summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2026-05-26 12:47:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-13 07:10:10 +0200
commit50246d57233ad3b3c5dab99001a84d93e3e3d8f0 (patch)
treebd04d0665bcba13d35a4546ecc9f532710da545e /tools/perf/scripts/python
parenta13c140cc289c0b7b3770bce5b3ad42ab35074aa (diff)
usb: udc: pxa: fix error handling
As Dan Carpenter points out, my recent change makes subtle changes to the error handling that were not intended. Move the warning print up so it does not get skipped in case of an error, but handle -EPROBE_DEFER properly now. Change the devm_gpiod_get() to the _optional variant, which is in line with the intended behavior and the DT binding, though this did not work previously. Reported-by: Dan Carpenter <error27@gmail.com> Link: https://lore.kernel.org/linux-usb/ag6-xhfFjb5NpXQz@stanley.mountain/ Fixes: 25bd55f46032 ("usb: udc: pxa: remove unused platform_data") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20260526104810.3906090-1-arnd@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions