|
@@ -724,12 +724,12 @@ static int sun4i_tcon_bind(struct device *dev, struct device *master,
|
|
if (IS_ERR(tcon->crtc)) {
|
|
if (IS_ERR(tcon->crtc)) {
|
|
dev_err(dev, "Couldn't create our CRTC\n");
|
|
dev_err(dev, "Couldn't create our CRTC\n");
|
|
ret = PTR_ERR(tcon->crtc);
|
|
ret = PTR_ERR(tcon->crtc);
|
|
- goto err_free_clocks;
|
|
|
|
|
|
+ goto err_free_dotclock;
|
|
}
|
|
}
|
|
|
|
|
|
ret = sun4i_rgb_init(drm, tcon);
|
|
ret = sun4i_rgb_init(drm, tcon);
|
|
if (ret < 0)
|
|
if (ret < 0)
|
|
- goto err_free_clocks;
|
|
|
|
|
|
+ goto err_free_dotclock;
|
|
|
|
|
|
if (tcon->quirks->needs_de_be_mux) {
|
|
if (tcon->quirks->needs_de_be_mux) {
|
|
/*
|
|
/*
|