diff options
author | Marek Vasut <[email protected]> | 2022-08-01 14:54:19 +0200 |
---|---|---|
committer | Robert Foss <[email protected]> | 2022-08-29 17:30:32 +0200 |
commit | 81dae1f34d56b5a25659d03ffe63be69aca87352 (patch) | |
tree | 32a0236f09bc114f35875c71a89c837cb6d8e2d5 /tools/perf/scripts/python/libxed.py | |
parent | d688f6b5525d5bc1b88c198959274d53a1a24204 (diff) |
drm/bridge: lvds-codec: Fix error checking of drm_of_lvds_get_data_mapping()
The drm_of_lvds_get_data_mapping() returns either negative value on
error or MEDIA_BUS_FMT_* otherwise. The check for 'ret' would also
catch the positive case of MEDIA_BUS_FMT_* and lead to probe failure
every time 'data-mapping' DT property is specified.
Fixes: 7c4dd0a266527 ("drm: of: Add drm_of_lvds_get_data_mapping")
Signed-off-by: Marek Vasut <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Sam Ravnborg <[email protected]>
To: [email protected]
Reviewed-by: Neil Armstrong <[email protected]>
Signed-off-by: Robert Foss <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions