]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: convert drm_edid_to_speaker_allocation() to use cea db iter
authorJani Nikula <jani.nikula@intel.com>
Tue, 3 May 2022 09:23:54 +0000 (12:23 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 5 May 2022 17:17:00 +0000 (20:17 +0300)
commit02225b22619fac0e7402a9ba91833e2e32cdd815
tree44d67c5a6be1af48403c4cd2bb8b8287cd178860
parent17188714a76e07d5de87ac49e33bb7b7f9bd6378
drm/edid: convert drm_edid_to_speaker_allocation() to use cea db iter

Use the cea db iterator for speaker allocation. We'll still stop at the
first speaker data block, but not at the first CTA extension if that
doesn't have the info.

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/0b9e7f136854055a14b826097160fe0b43b9f3d1.1651569697.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c