diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2020-04-16 23:06:54 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-04-25 16:48:55 +0200 |
commit | 30be3031087139061de4421bf52015931eaab569 (patch) | |
tree | 683b718245f9e247a9ec7079d9ea32016ccb4c7e /Documentation | |
parent | 4606ed7ede0c1f8616c7d30cbf72230314888653 (diff) |
drm/bridge: panel: Return always an error pointer in drm_panel_bridge_add()
Since commit 89958b7cd955 ("drm/bridge: panel: Infer connector type from
panel by default"), drm_panel_bridge_add() and their variants can return
NULL and an error pointer. This is fine but none of the actual users of
the API are checking for the NULL value. Instead of change all the
users, seems reasonable to return an error pointer instead. So change
the returned value for those functions when the connector type is unknown.
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200416210654.2468805-1-enric.balletbo@collabora.com
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions