diff options
author | Jani Nikula <jani.nikula@intel.com> | 2022-03-31 21:45:06 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2022-04-01 17:44:46 +0300 |
commit | 23e38d7b48fda3730fe0a7ebc9293dd2810b49d7 (patch) | |
tree | c1082570c4a7b84434264a4b88ddaa1a11dc49ed /mm/z3fold.c | |
parent | 18d83450468ca57b66c754ec1ec455d5cc853ab4 (diff) | |
download | linux-23e38d7b48fda3730fe0a7ebc9293dd2810b49d7.tar.bz2 |
drm/edid: simplify block check when filtering invalid blocks
There's no need to handle complicated scenarios or debug log when
filtering blocks that have already been identified as invalid. Simplify
by adding an edid_block_valid() helper that operates on const data and
prints nothing.
(Finally, here's the justification for the previously added separate
edid_block_status_valid() function!)
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/aa25131c3454c7dbc1e8fdb46549f3787bdf6354.1648752228.git.jani.nikula@intel.com
Diffstat (limited to 'mm/z3fold.c')
0 files changed, 0 insertions, 0 deletions