diff options
| author | Sam Ravnborg <[email protected]> | 2019-12-07 15:03:29 +0100 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2019-12-09 22:57:26 +0100 |
| commit | 5dce87a91970bf7c7ef3de5e2bff08b695d858a3 (patch) | |
| tree | fabf03a65d13058b7525a12f80be8771d2d171db /tools/perf/scripts/python/netdev-times.py | |
| parent | 4286dc07e6ae56ed33e9067850d6c04ff062195f (diff) | |
drm/drm_panel: no error when no callback
The callbacks in drm_panel_funcs are optional, so do not
return an error just because no callback is assigned.
v2:
- Document what functions in drm_panel_funcs are optional (Laurent)
- Return -EOPNOTSUPP if get_modes() is not assigned (Laurent)
(Sam: -EOPNOTSUPP seems to best error code in this situation)
Signed-off-by: Sam Ravnborg <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions