diff options
author | Marek Vasut <[email protected]> | 2022-08-01 14:54:19 +0200 |
---|---|---|
committer | Marek Vasut <[email protected]> | 2022-08-11 01:44:15 +0200 |
commit | 2bba782002c5dab6ca8d608b778b386fb912adff (patch) | |
tree | 0a5e1f13fedd3ffb2893d3c095f61a5ed4e431ce /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | cf4b7387c0a842d64bdd7c353e6d3298174a7740 (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]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions