mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
ASoC: rsnd: use 32bit TDM width as default
commit fb2815f44a
("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:
|
||||
break;
|
||||
default:
|
||||
dev_err(dev, "unsupported slot width value: %d\n", slot_width);
|
||||
return -EINVAL;
|
||||
/* use default */
|
||||
slot_width = 32;
|
||||
}
|
||||
|
||||
switch (slots) {
|
||||
|
Loading…
Reference in New Issue
Block a user