lkml.org 
[lkml]   [2022]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 00/16] ASoC: codecs: qcom fix validation failures
Date
Thanks for pointing out to mixer kselftest and VALIDATION Kconfig.

This patchset addresses some of the issues in Qualcomm codecs that are
discovered with recent mixer kselftest and validations added to ASoC.

Mostly these are under
1. accessing integer value type for enum controls, which is clearly an array out of bounds access.
2. Fix incorrect ranges.
3. Fix incorrect min max for tlv controls. (I can see that other codecs also suffer same issue)
4. Fix return values for put functions.

thanks,
srini

Srinivas Kandagatla (9):
ASoC: codecs: rx-macro: fix accessing compander for aux
ASoC: codecs: rx-macro: fix accessing array out of bounds for enum
type
ASoC: codecs: tx-macro: fix accessing array out of bounds for enum
type
ASoC: codecs: va-macro: fix accessing array out of bounds for enum
type
ASoC: codecs: wsa-macro: fix accessing array out of bounds for enum
type
ASoC: codecs: wc938x: fix accessing array out of bounds for enum type
ASoC: codecs: wcd938x: fix kcontrol max values
ASoC: codecs: wcd934x: fix kcontrol max values
ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put
ASoC: codecs: rx-macro: fix tlv min max range
ASoC: codecs: tx-macro: fix tlv min max range
ASoC: codecs: va-macro: fix tlv min max range
ASoC: codecs: wsa-macro: fix tlv min max range
ASoC: codecs: wcd938x: fix tlv min max range
ASoC: codecs: wcd9335: fix tlv min max range
ASoC: codecs: msm8916-wcd-digital: fix tlv min max range

sound/soc/codecs/lpass-rx-macro.c | 40 ++++++++-------
sound/soc/codecs/lpass-tx-macro.c | 24 ++++-----
sound/soc/codecs/lpass-va-macro.c | 12 ++---
sound/soc/codecs/lpass-wsa-macro.c | 14 +++---
sound/soc/codecs/msm8916-wcd-digital.c | 14 +++---
sound/soc/codecs/wcd9335.c | 36 ++++++-------
sound/soc/codecs/wcd934x.c | 70 +++++++++++++-------------
sound/soc/codecs/wcd938x.c | 10 ++--
8 files changed, 112 insertions(+), 108 deletions(-)

--
2.21.0

\
 
 \ /
  Last update: 2022-02-22 13:00    [W:0.076 / U:1.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site