ASoC: rsnd: use 32bit TDM width as default
commit fb2815f44a9e ("ASoC: rsnd: add support for 16/24 bit slot widths") added TDM width check, and return error if it was not 16/24/32 bit. But it is too strict. This patch uses 32bit same as default. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
9641faa2db
commit
82ab7e9a4d
@ -744,8 +744,8 @@ static int rsnd_soc_set_dai_tdm_slot(struct snd_soc_dai *dai,
|
|||||||
case 32:
|
case 32:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
dev_err(dev, "unsupported slot width value: %d\n", slot_width);
|
/* use default */
|
||||||
return -EINVAL;
|
slot_width = 32;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (slots) {
|
switch (slots) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user