linux/sound/soc/sh/rcar
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
..
adg.c ASoC: rsnd: more clear ADG clock debug info 2017-10-13 11:19:01 +01:00
cmd.c ASoC: rsnd: make arrays path and cmd_case static const 2017-06-30 12:45:36 +01:00
core.c ASoC: rsnd: call snd_soc_disconnect_sync() when remove 2017-11-28 16:20:49 +00:00
ctu.c ASoC: rsnd: add rsnd_kctrl_xxx() macro 2017-10-11 09:46:17 +01:00
dma.c ASoC: rcar: revert IOMMU support so far 2017-11-16 11:02:04 +00:00
dvc.c ASoC: rsnd: add rsnd_kctrl_xxx() macro 2017-10-11 09:46:17 +01:00
gen.c ASoC: rsnd: Delete an error message for a failed memory allocation in three functions 2017-08-10 16:32:38 +01:00
Makefile ASoC: rsrc-card: rename rsrc-card to simple-scu-card phase3 2016-08-24 11:19:16 +01:00
mix.c ASoC: rsnd: add rsnd_kctrl_xxx() macro 2017-10-11 09:46:17 +01:00
rsnd.h ASoC: rsnd: remove NULL check from rsnd_mod_name()/rsnd_mod_id() 2017-11-01 09:53:19 +00:00
src.c ASoC: rsnd: remove unused rsnd_xxx_to_dma() 2017-08-22 16:30:57 +01:00
ssi.c Merge remote-tracking branch 'asoc/topic/rcar' into asoc-next 2017-11-10 21:30:57 +00:00
ssiu.c ASoC: rsnd: remove unnecessary static in rsnd_ssiu_probe() 2017-07-17 17:00:57 +01:00