[PATCH] ASoC: tas2562: Return invalid for when bitwidth is invalid

Mark Brown broonie at kernel.org
Tue Feb 18 19:48:32 CET 2020


On Tue, Feb 18, 2020 at 11:47:06AM -0600, Dan Murphy wrote:
> 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 at ti.com>
> ---
>  scripts/conmakehash        | Bin 0 -> 13120 bytes
>  scripts/sortextable        | Bin 0 -> 18040 bytes
>  sound/soc/codecs/tas2562.c |   3 ++-
>  3 files changed, 2 insertions(+), 1 deletion(-)
>  create mode 100755 scripts/conmakehash
>  create mode 100755 scripts/sortextable
> 
> diff --git a/scripts/conmakehash b/scripts/conmakehash
> new file mode 100755
> index 0000000000000000000000000000000000000000..17eec37019b8ae45f42f3c82046d1a55a6f69cb3
> GIT binary patch
> literal 13120
> zcmeHOeQ;D&mcN}25CU`u1i`Q23C#=v(j at XB0Wx-n4!le?@~!SFHl6fK(rc$X+x=RD

This is...  fun?  I'm guessing it's not intentional, it's certainly a
little difficult to review.  :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20200218/0e793eac/attachment.sig>


More information about the Alsa-devel mailing list