Current SSI/SSIU are using rsnd_get_slot_runtime() to check TDM,
but using rsnd_get_slot_extend() is more sane.
This patch fix it up
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
u32 wsr;
int is_tdm;
- is_tdm = (rsnd_get_slot_runtime(io) >= 6) ? 1 : 0;
+ is_tdm = (rsnd_get_slot_extend(io) >= 6) ? 1 : 0;
/*
* always use 32bit system word.
if (ret < 0)
return ret;
- if (rsnd_get_slot_runtime(io) >= 6) {
+ if (rsnd_get_slot_extend(io) >= 6) {
/*
* TDM Extend Mode
* see