Merge tag 'drm-misc-next-2018-02-13' of git://anongit.freedesktop.org/drm/drm-misc...
[linux-2.6-block.git] / drivers / gpu / drm / sun4i / sun4i_tcon.c
index a65155dbdcbf1c06fd5d4925cc8de8d88c855884..4b7340ee629091515db27957f8d215c0b996179b 100644 (file)
@@ -906,7 +906,7 @@ static int sun4i_tcon_bind(struct device *dev, struct device *master,
                                has_lvds_alt = false;
                        } else {
                                dev_err(dev, "Couldn't get the LVDS PLL\n");
-                               return PTR_ERR(tcon->lvds_rst);
+                               return PTR_ERR(tcon->lvds_pll);
                        }
                } else {
                        has_lvds_alt = true;