lkml.org 
[lkml]   [2019]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 32/35] drm/mediatek: hdmi: Use drm_bridge_init()
    Date
    No functional change.

    v3:
    - drop driver_private argument (Laurent)

    Acked-by: CK Hu <ck.hu@mediatek.com>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
    ---
    drivers/gpu/drm/mediatek/mtk_hdmi.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c
    index 5e4a4dbda443..a5fd2b68e407 100644
    --- a/drivers/gpu/drm/mediatek/mtk_hdmi.c
    +++ b/drivers/gpu/drm/mediatek/mtk_hdmi.c
    @@ -1710,8 +1710,8 @@ static int mtk_drm_hdmi_probe(struct platform_device *pdev)

    mtk_hdmi_register_audio_driver(dev);

    - hdmi->bridge.funcs = &mtk_hdmi_bridge_funcs;
    - hdmi->bridge.of_node = pdev->dev.of_node;
    + drm_bridge_init(&hdmi->bridge, &pdev->dev, &mtk_hdmi_bridge_funcs,
    + NULL);
    drm_bridge_add(&hdmi->bridge);

    ret = mtk_hdmi_clk_enable_audio(hdmi);
    --
    2.24.0
    \
     
     \ /
      Last update: 2019-12-24 18:36    [W:4.315 / U:0.596 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site