stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm: ti: lcdc: Fixed an error check in the clock initialization
@ 2014-02-18 12:56 Jean-Jacques Hiblot
  2014-02-18 15:29 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Jacques Hiblot @ 2014-02-18 12:56 UTC (permalink / raw)
  To: airlied, robdclark, daniel.vetter
  Cc: dri-devel, linux-kernel, stable, Jean-Jacques Hiblot

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
---
Hi,

this is a simple patch to fix a copy/paste error in the init code of the driver.
The problem is also present in the v3.10 stable tree
cheers,

Jean-Jacques

drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
index 171a820..f10bc56 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
@@ -200,7 +200,7 @@ static int tilcdc_load(struct drm_device *dev, unsigned long flags)
 	}
 
 	priv->disp_clk = clk_get(dev->dev, "dpll_disp_ck");
-	if (IS_ERR(priv->clk)) {
+	if (IS_ERR(priv->disp_clk)) {
 		dev_err(dev->dev, "failed to get display clock\n");
 		ret = -ENODEV;
 		goto fail;
-- 
1.9.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm: ti: lcdc: Fixed an error check in the clock initialization
  2014-02-18 12:56 [PATCH] drm: ti: lcdc: Fixed an error check in the clock initialization Jean-Jacques Hiblot
@ 2014-02-18 15:29 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2014-02-18 15:29 UTC (permalink / raw)
  To: Jean-Jacques Hiblot
  Cc: airlied, robdclark, daniel.vetter, dri-devel, linux-kernel,
	stable

On Tue, Feb 18, 2014 at 01:56:55PM +0100, Jean-Jacques Hiblot wrote:
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
> ---
> Hi,
> 
> this is a simple patch to fix a copy/paste error in the init code of the driver.
> The problem is also present in the v3.10 stable tree
> cheers,
> 
> Jean-Jacques
> 
> drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read Documentation/stable_kernel_rules.txt
for how to do this properly.

</formletter>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-18 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18 12:56 [PATCH] drm: ti: lcdc: Fixed an error check in the clock initialization Jean-Jacques Hiblot
2014-02-18 15:29 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).