Skip to content

ASoC: qcom: Two fixes from Clang warning audit

Ian Rogers linux-arm-msm linux-sound lkml llvm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: codecs: lpass-rx-macro: Return early for non-HPH interpolators in HD2 controlsound/soc/codecs/lpass-rx-macro.c+2 -00 replies
2/2ASoC: qcom: lpass-platform: Return IRQ_NONE on invalid DAI ID in DMA ISRsound/soc/qcom/lpass-platform.c+3 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ASoC: qcom: Two fixes from Clang warning audit

Two fixes in Qualcomm ASoC drivers found while auditing Clang warnings (-Wconditional-uninitialized and -Wassign-enum) on an x86_64 allyesconfig build:

1. Return early for non-HPH interpolators in rx_macro_hd2_control().
2. Return IRQ_NONE instead of -EINVAL on an invalid DAI ID in lpass_dma_interrupt_handler().

Build-tested with LLVM=1 W=1 (-Werror); not runtime-tested on Qualcomm audio hardware.

Ian Rogers (2):
ASoC: codecs: lpass-rx-macro: Return early for non-HPH interpolators
in HD2 control
ASoC: qcom: lpass-platform: Return IRQ_NONE on invalid DAI ID in DMA
ISR

 sound/soc/codecs/lpass-rx-macro.c | 2 ++
 sound/soc/qcom/lpass-platform.c   | 5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)
Signature · 1 line
2.56.1.708.g77570a6a1d-goog