Commit b1c7a110 authored by Dan Murphy's avatar Dan Murphy
Browse files

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: default avatarDan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200218185252.26290-1-dmurphy@ti.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
(cherry picked from commit 310006ca)
Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
parent d503dc6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment