linux_dsm_epyc7002/sound/soc/sh
Kuninori Morimoto 180d9ef581
ASoC: rsnd: call snd_soc_disconnect_sync() when remove
Renesas R-Car sound driver should be stopped if unbinded during
playbacking/capturing. Otherwise clock open/close counter mismatch
happen.

One note is that we can't skip from remove function (= return -Exxx)
in such case if user used unbind. Because unbind function doesn't
check return value from each driver's remove function.
This means we must to stop and remove driver in remove function.

Now ASoC has snd_soc_disconnect_sync() for this purpose.
Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-11-28 16:20:49 +00:00
..
rcar ASoC: rsnd: call snd_soc_disconnect_sync() when remove 2017-11-28 16:20:49 +00:00
dma-sh7760.c ASoC: sh: make snd_pcm_hardware const 2017-08-17 17:57:21 +01:00
fsi.c ASoC: fsi: Use of_device_get_match_data() helper 2017-10-04 15:48:05 +01:00
hac.c ASoC: sh: hac: add missing "int ret" 2017-07-24 13:06:53 +01:00
Kconfig ASoC: rsnd: add HDMI output support 2017-05-19 18:36:25 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
migor.c ASoC: sh: make snd_soc_ops const 2017-08-17 18:09:48 +01:00
sh7760-ac97.c ASoC: sh: Add .owner to struct snd_soc_card 2011-12-23 11:32:07 +00:00
siu_dai.c ASoC: sh: make snd_pcm_hardware const 2017-08-17 17:57:21 +01:00
siu_pcm.c ASoC: sh: constify snd_pcm_ops structures 2017-08-14 17:23:43 +01:00
siu.h ASoC: Do not include soc-dai.h 2010-11-22 14:04:53 +00:00
ssi.c ASoC: sh: ssi: Convert to devm_snd_soc_register_component 2015-08-28 17:28:49 +01:00