diff options
| author | YueHaibing <[email protected]> | 2020-11-02 22:30:24 +0800 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2020-11-05 22:09:09 +0100 |
| commit | c2530cc9610d84a5a0118ba40d0f09309605047f (patch) | |
| tree | 82f88f573dd2b7825d8030e0dc669955e78aa02b /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | ed794057b052b52af2c6642bf32e8d21c6fba69c (diff) | |
drm/bridge: tpd12s015: Fix irq registering in tpd12s015_probe
gpiod_to_irq() return negative value in case of error,
the existing code doesn't handle negative error codes.
If the HPD gpio supports IRQs (gpiod_to_irq returns a
valid number), we use the IRQ. If it doesn't (gpiod_to_irq
returns an error), it gets polled via detect().
Fixes: cff5e6f7e83f ("drm/bridge: Add driver for the TI TPD12S015 HDMI level shifter")
Signed-off-by: YueHaibing <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions