linux/sound/soc/sh/rcar
Kuninori Morimoto 6bf66b1c35 ASoC: rsnd: tidyup ssi->usrcnt counter check in hw_params
ssi->usrcnt will be updated on snd_soc_dai_ops::trigger,
but snd_pcm_ops::hw_params will be called *before* it.
Thus, ssi->usrcnt is still 0 when 1st call.
rsnd_ssi_hw_params() needs to check its called count, this means
trigger should be if (ssi->usrcnt) instead of if (ssi->usrcnt > 1).

Reported-by: Nguyen Viet Dung <nv-dung@jinso.co.jp>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-12-07 15:47:44 +00:00
..
adg.c ASoC: rsnd: use BRGCKR instead of SSICKR 2016-10-28 19:17:15 +01:00
cmd.c ASoC: rsnd: each mod has status again for CTU/MUX support 2016-01-22 17:12:25 +00:00
core.c ASoC: rsnd: rsnd_get_dalign() needs to care SSIU, not SSI 2016-12-05 11:36:43 +00:00
ctu.c ASoC: rsnd: add CTU support 2016-03-05 13:27:27 +09:00
dma.c ASoC: rsnd: use dma_sync_single_for_xxx() for IOMMU 2016-11-22 17:25:52 +00:00
dvc.c ASoC: rsnd: remove duplicate define of rsnd_dvc_of_node() 2016-10-24 18:23:29 +01:00
gen.c ASoC: rsnd: use BRGCKR instead of SSICKR 2016-10-28 19:17:15 +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_runtime_channel_xxx() 2016-03-05 13:27:27 +09:00
rsnd.h ASoC: rsnd: rsnd_get_dalign() needs to care SSIU, not SSI 2016-12-05 11:36:43 +00:00
src.c ASoC: rsnd: enable SRC sync even FIN = FOUT 2016-10-27 11:14:34 +01:00
ssi.c ASoC: rsnd: tidyup ssi->usrcnt counter check in hw_params 2016-12-07 15:47:44 +00:00
ssiu.c ASoC: rsnd: clear SSI_SYS_STATUSx every time 2016-10-26 17:46:17 +01:00