lkml.org 
[lkml]   [2014]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 4/5] ASoC: dwc: Add devicetree support for Designware I2S
On Fri, Dec 19, 2014 at 04:18:08PM +0000, Andrew Jackson wrote:

> if (IS_ERR(dev->clk))
> - return PTR_ERR(dev->clk);
> + return PTR_ERR(dev->clk);
> +
> + ret = clk_prepare(dev->clk);
> + if (ret < 0)
> + goto err_clk_put;

This isn't adding device tree support, it's adding use of clk_prepare()
which is a separate change and is normally better done by converting to
use clk_prepare_enable().
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-12-22 16:01    [W:0.110 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site