All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] ASoC: codecs: qcom fix validation failures
@ 2022-02-22 18:32 ` Srinivas Kandagatla
  0 siblings, 0 replies; 24+ messages in thread
From: Srinivas Kandagatla @ 2022-02-22 18:32 UTC (permalink / raw)
  To: broonie
  Cc: lgirdwood, perex, tiwai, pierre-louis.bossart, alsa-devel,
	linux-kernel, quic_srivasam, Srinivas Kandagatla

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 return values for put functions.

Changes since v1:
- removed tlv min max patches as "9bdd10d57a ("ASoC: ops:
Shift tested values in snd_soc_put_volsw() by +min")" fixed the issue in core.
- added checks in wcd934x_rx_hph_mode_put before returning

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

 sound/soc/codecs/lpass-rx-macro.c  | 12 ++++++++----
 sound/soc/codecs/lpass-tx-macro.c  |  8 ++++----
 sound/soc/codecs/lpass-va-macro.c  |  4 ++--
 sound/soc/codecs/lpass-wsa-macro.c | 10 +++++-----
 sound/soc/codecs/wcd934x.c         | 11 +++++++----
 sound/soc/codecs/wcd938x.c         | 10 +++++-----
 6 files changed, 31 insertions(+), 24 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2022-02-23  4:09 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-22 18:32 [PATCH v2 0/9] ASoC: codecs: qcom fix validation failures Srinivas Kandagatla
2022-02-22 18:32 ` Srinivas Kandagatla
2022-02-22 18:32 ` [PATCH v2 1/9] ASoC: codecs: rx-macro: fix accessing compander for aux Srinivas Kandagatla
2022-02-22 18:32   ` Srinivas Kandagatla
2022-02-22 18:32 ` [PATCH v2 2/9] ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type Srinivas Kandagatla
2022-02-22 18:32   ` Srinivas Kandagatla
2022-02-22 18:32 ` [PATCH v2 3/9] ASoC: codecs: tx-macro: " Srinivas Kandagatla
2022-02-22 18:32   ` Srinivas Kandagatla
2022-02-22 18:45   ` Mark Brown
2022-02-22 18:45     ` Mark Brown
2022-02-22 18:32 ` [PATCH v2 4/9] ASoC: codecs: va-macro: " Srinivas Kandagatla
2022-02-22 18:32   ` Srinivas Kandagatla
2022-02-22 18:32 ` [PATCH v2 5/9] ASoC: codecs: wsa-macro: " Srinivas Kandagatla
2022-02-22 18:32   ` Srinivas Kandagatla
2022-02-22 18:32 ` [PATCH v2 6/9] ASoC: codecs: wc938x: " Srinivas Kandagatla
2022-02-22 18:32   ` Srinivas Kandagatla
2022-02-22 18:32 ` [PATCH v2 7/9] ASoC: codecs: wcd938x: fix kcontrol max values Srinivas Kandagatla
2022-02-22 18:32   ` Srinivas Kandagatla
2022-02-22 18:32 ` [PATCH v2 8/9] ASoC: codecs: wcd934x: " Srinivas Kandagatla
2022-02-22 18:32   ` Srinivas Kandagatla
2022-02-22 18:32 ` [PATCH v2 9/9] ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put Srinivas Kandagatla
2022-02-22 18:32   ` Srinivas Kandagatla
2022-02-23  4:08 ` (subset) [PATCH v2 0/9] ASoC: codecs: qcom fix validation failures Mark Brown
2022-02-23  4:08   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.