summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/rcar/rsnd.h
diff options
context:
space:
mode:
authorJiada Wang <jiada_wang@mentor.com>2018-09-03 09:08:37 +0200
committerMark Brown <broonie@kernel.org>2018-09-03 15:37:19 +0200
commit2e66d523cd055ac3fa920f7e630c4bfa80d24c24 (patch)
treea691adb899aea6a23582d865cb1d98cb47d5cebb /sound/soc/sh/rcar/rsnd.h
parentASoC: rsnd: ssiu: Support BUSIF other than BUSIF0 (diff)
downloadlinux-2e66d523cd055ac3fa920f7e630c4bfa80d24c24.tar.xz
linux-2e66d523cd055ac3fa920f7e630c4bfa80d24c24.zip
ASoC: rsnd: ssiu: Support to init different BUSIF instance
Currently ssiu's .init is only called once during audio stream. But SSIU with different BUSIF, shall be initialized each time, even they are used in the same audio stream. This patch introduces ssiu_status for BUSIF0 to BUSIF7 in rsnd_ssiu, to make sure same .init for different BUSIF can always be executed. To avoid the first stopped stream to stop the whole SSIU, which may still has other BUSIF instance running, use usrcnt to count the usage of SSIU, only the last user of SSIU can stop the whole SSIU. Signed-off-by: Jiada Wang <jiada_wang@mentor.com> Signed-off-by: Timo Wischer <twischer@de.adit-jv.com> [Kuninori: tidyup for upstream] Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/rsnd.h')
0 files changed, 0 insertions, 0 deletions