ASoC: tas2770: Fix setting of high sample rates
authorMartin Povišer <povik@protonmail.com>
Mon, 6 Dec 2021 22:45:43 +0000 (22:45 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 14 Dec 2021 17:15:28 +0000 (17:15 +0000)
commit80d5be1a057e05f01d66e986cfd34d71845e5190
treef7b95e953ee3fcf9c4db76b67f9433718155e14f
parent8deb34a90f06374fd26f722c2a79e15160f66be7
ASoC: tas2770: Fix setting of high sample rates

Although the codec advertises support for 176.4 and 192 ksps, without
this fix setting those sample rates fails with EINVAL at hw_params time.

Signed-off-by: Martin Povišer <povik@protonmail.com>
Link: https://lore.kernel.org/r/20211206224529.74656-1-povik@protonmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2770.c