projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27b7def
)
ASoC: ti: davinci-evm: Do not fail if the dai_set_sysclk returns -ENOTSUPP
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Fri, 30 Aug 2019 10:38:41 +0000
(13:38 +0300)
committer
Mark Brown
<broonie@kernel.org>
Fri, 30 Aug 2019 11:23:04 +0000
(12:23 +0100)
The davinci McBSP (davinci-i2s) driver does not implement the set_sysclk
callback, which is fine and should not be treated as error.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link:
https://lore.kernel.org/r/20190830103841.25128-5-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/davinci-evm.c
patch
|
blob
|
history
diff --git
a/sound/soc/ti/davinci-evm.c
b/sound/soc/ti/davinci-evm.c
index bfd8d1a03ba70abb06aec119098141d294fab991..686b23d7a90d984a48dae8620a7d4f5d7b111485 100644
(file)
--- a/
sound/soc/ti/davinci-evm.c
+++ b/
sound/soc/ti/davinci-evm.c
@@
-68,7
+68,7
@@
static int evm_hw_params(struct snd_pcm_substream *substream,
/* set the CPU system clock */
ret = snd_soc_dai_set_sysclk(cpu_dai, 0, sysclk, SND_SOC_CLOCK_OUT);
- if (ret < 0)
+ if (ret < 0
&& ret != -ENOTSUPP
)
return ret;
return 0;