[alsa-devel] [PATCH 1/3] ASoC: codecs: msm8916-wcd-digital: add support to set_sysclk

Mark Brown broonie at kernel.org
Mon Jul 17 16:44:50 CEST 2017


On Mon, Jul 17, 2017 at 03:54:08PM +0200, srinivas.kandagatla at linaro.org wrote:

> +static int msm8916_set_dai_sysclk(struct snd_soc_dai *dai,
> +				 int clk_id, unsigned int freq, int dir)
> +{
> +	struct msm8916_wcd_digital_priv *p = dev_get_drvdata(dai->codec->dev);
> +
> +	clk_set_rate(p->mclk, freq);

This is ignoring the return value.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170717/2c1d4eb7/attachment-0001.sig>


More information about the Alsa-devel mailing list