]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ASoC: tas2562: Return invalid for when bitwidth is invalid
authorDan Murphy <dmurphy@ti.com>
Tue, 18 Feb 2020 18:52:52 +0000 (12:52 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 18 Feb 2020 20:29:08 +0000 (20:29 +0000)
commit310006cab991fa895cc3a42c53609778b0d50d46
treed24eba1ccd405b16b23878bd663cc5088d8cba3d
parent96781fd941b39e1f78098009344ebcd7af861c67
ASoC: tas2562: Return invalid for when bitwidth is invalid

If the bitwidth passed in to the set_bitwidth function is not supported
then return an error.

Fixes: 29b74236bd57 ("ASoC: tas2562: Introduce the TAS2562 amplifier")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200218185252.26290-1-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2562.c