OSDN Git Service

drm: bridge/dw_hdmi: simplify hdmi_config_AVI() a little
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 27 Mar 2015 23:14:16 +0000 (23:14 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 18 Aug 2015 10:27:14 +0000 (11:27 +0100)
commitd083c312cba2735566af9598cb281ea2ae6b729a
tree19889137a1cadc1015487af17a5d0f0a847df30f
parentd4ac4cb69e79e3175329e03262354beef6aab38b
drm: bridge/dw_hdmi: simplify hdmi_config_AVI() a little

When a YCBCR format is selected, we can merely copy the colorimetry
information directly as we use the same definitions for both the
unpacked AVI info frame and the hdmi_data_info structure.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/bridge/dw_hdmi.c