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

From: Srinivas Kandagatla
Date: Mon Jul 17 2017 - 10:52:49 EST




On 17/07/17 15:44, Mark Brown wrote:
On Mon, Jul 17, 2017 at 03:54:08PM +0200, srinivas.kandagatla@xxxxxxxxxx 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.

Thanks, I will take care of it in next version.

--srini