diff options
author | Robert Hancock <[email protected]> | 2022-01-12 14:52:14 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-02-04 15:33:42 +0100 |
commit | abaca3179b41d4b3b115f27814ee36f6fb45e897 (patch) | |
tree | b46ec8d589b694cefe83cdcdf8162b807df99a0d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a74e7263b53424a7f5b999a11d610231338f5b99 (diff) |
pps: clients: gpio: Propagate return value from pps_gpio_probe
If the pps-gpio driver was probed prior to the GPIO device it uses, the
devm_gpiod_get call returned an -EPROBE_DEFER error, but pps_gpio_probe
replaced that error code with -EINVAL, causing the pps-gpio probe to
fail and not be retried later. Propagate the error return value so that
deferred probe works properly.
Fixes: 161520451dfa (pps: new client driver using GPIO)
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Rodolfo Giometti <[email protected]>
Signed-off-by: Robert Hancock <[email protected]>
Signed-off-by: Rodolfo Giometti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions