drm/mediatek/mtk_mipi_tx: checking the wrong variable
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 1 Jul 2016 13:59:34 +0000 (16:59 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 Jul 2016 12:47:04 +0000 (14:47 +0200)
commit1233d4d68af23526e5b90f345f7bf6e4961d47c0
tree66d60a67f125c16988d37c9fb8323b37f19f5224
parent7b2d16f55c6beec76510929eb7e481bf26a51764
drm/mediatek/mtk_mipi_tx: checking the wrong variable

We should be checking "phy_provider" here not "phy".

Fixes: 2e54c14e310f ('drm/mediatek: Add DSI sub driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20160701135934.GA15723@mwanda
drivers/gpu/drm/mediatek/mtk_mipi_tx.c