diff options
| author | Sam Ravnborg <[email protected]> | 2019-12-07 14:03:29 +0000 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2019-12-09 21:57:26 +0000 |
| commit | 5dce87a91970bf7c7ef3de5e2bff08b695d858a3 (patch) | |
| tree | fabf03a65d13058b7525a12f80be8771d2d171db /drivers/gpu/drm/imx/parallel-display.c | |
| parent | drm/gma500: add a missed gma_power_end in error path (diff) | |
| download | kernel-5dce87a91970bf7c7ef3de5e2bff08b695d858a3.tar.gz kernel-5dce87a91970bf7c7ef3de5e2bff08b695d858a3.zip | |
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 'drivers/gpu/drm/imx/parallel-display.c')
0 files changed, 0 insertions, 0 deletions
