[PATCH 1/2] ASoC: sgtl5000: Let the codec acquire its clock

Mark Brown broonie at kernel.org
Mon Jun 10 05:27:15 EDT 2013


On Sun, Jun 09, 2013 at 10:07:46PM -0300, Fabio Estevam wrote:

> -	if (IS_ERR(data->codec_clk)) {
> -		/* assuming clock enabled by default */
> -		data->codec_clk = NULL;
> -		ret = of_property_read_u32(codec_np, "clock-frequency",
> -					&data->clk_frequency);
> -		if (ret) {
> -			dev_err(&codec_dev->dev,
> -				"clock-frequency missing or invalid\n");
> -			goto fail;
> -		}

Applied but this means that the binding document needs to be updated to
remove the clock-frequency property.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130610/5a2535da/attachment.sig>


More information about the linux-arm-kernel mailing list