]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/meson: dw-hdmi: stop enforcing input_bus_format
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 4 Mar 2020 10:40:49 +0000 (11:40 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 10 Mar 2020 09:51:24 +0000 (10:51 +0100)
To allow using formats from negotiation, stop enforcing input_bus_format
in the private dw-plat-data struct.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Jernej Škrabec <jernej.skrabec@siol.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200304104052.17196-9-narmstrong@baylibre.com
drivers/gpu/drm/meson/meson_dw_hdmi.c

index 8f51d032262c0e23ee07e4e557ca4c891ad2d036..72c118142eaf45970063bbf80a49312530a87993 100644 (file)
@@ -1014,7 +1014,6 @@ static int meson_dw_hdmi_bind(struct device *dev, struct device *master,
        dw_plat_data->phy_ops = &meson_dw_hdmi_phy_ops;
        dw_plat_data->phy_name = "meson_dw_hdmi_phy";
        dw_plat_data->phy_data = meson_dw_hdmi;
-       dw_plat_data->input_bus_format = MEDIA_BUS_FMT_YUV8_1X24;
        dw_plat_data->input_bus_encoding = V4L2_YCBCR_ENC_709;
 
        if (dw_hdmi_is_compatible(meson_dw_hdmi, "amlogic,meson-gxl-dw-hdmi") ||