Re: [PATCH 1/2] fbdev: sh-mobile: implement MIPI DSI runtime PM support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 23 Dec 2010, Paul Mundt wrote:

> On Wed, Dec 22, 2010 at 10:52:18AM +0100, Guennadi Liakhovetski wrote:
> > @@ -356,7 +360,9 @@ static int __init sh_mipi_probe(struct platform_device *pdev)
> >  		goto emap;
> >  	}
> >  
> > -	mipi->dsit_clk = clk_get(&pdev->dev, "dsit_clk");
> > +	mipi->dev = &pdev->dev;
> > +
> > +	mipi->dsit_clk = clk_get(NULL, "dsit_clk");
> 
> Why did you drop &pdev->dev from clk_get()?

Because that clock is not associated with that device, it sisn't work 
correctly until now. You also cannot associate it with that device 
exclusively, because it serves two devices...

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Tourism]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux