Re: [PATCH] Revert "mci: imx-esdhc: Enable clock"

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

 



On Wed, Jan 10, 2018 at 08:34:30AM -0800, Andrey Smirnov wrote:
> This reverts commit 61c6c24958934b6b226aa37b3b3a2c089189f52b which is
> pretty much a duplicate of:
> 
> a97345102 "i.MX: esdhc: Enable host->clk during initialization"
> 
> Since we don't need to enable that clock twice reverse the former and
> keep the latter.
> ---
>  drivers/mci/imx-esdhc.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c
> index 55e8371dd..b91f94b99 100644
> --- a/drivers/mci/imx-esdhc.c
> +++ b/drivers/mci/imx-esdhc.c
> @@ -630,7 +630,6 @@ static int fsl_esdhc_probe(struct device_d *dev)
>  	host->clk = clk_get(dev, "per");
>  	if (IS_ERR(host->clk))
>  		return PTR_ERR(host->clk);
> -	clk_enable(host->clk);
>  
>  	ret = clk_enable(host->clk);
>  	if (ret) {
> -- 
> 2.14.3
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux