Commit 2046d453 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mark Brown

ASoC: samsung: h1940_uda1380: Fix build warning

Fixes the following warning:
sound/soc/samsung/h1940_uda1380.c:98:4: warning: passing argument 1 of ‘dev_err’ from incompatible pointer type [enabled by default]
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 3bba4a78
...@@ -94,7 +94,7 @@ static int h1940_hw_params(struct snd_pcm_substream *substream, ...@@ -94,7 +94,7 @@ static int h1940_hw_params(struct snd_pcm_substream *substream,
div++; div++;
break; break;
default: default:
dev_err(&rtd->dev, "%s: rate %d is not supported\n", dev_err(rtd->dev, "%s: rate %d is not supported\n",
__func__, rate); __func__, rate);
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment