linux/sound/soc/amd
Nathan Chancellor d81677410f
ASoC: amd: acp: Fix initialization of ext_intr_stat1 in i2s_irq_handler()
Clang warns:

  ../sound/soc/amd/acp/acp-platform.c:117:19: error: variable 'ext_intr_stat1' is uninitialized when used here [-Werror,-Wuninitialized]
                          if (stream && (ext_intr_stat1 & stream->irq_bit)) {
                                         ^~~~~~~~~~~~~~
  ../sound/soc/amd/acp/acp-platform.c:97:35: note: initialize the variable 'ext_intr_stat1' to silence this warning
          u32 ext_intr_stat, ext_intr_stat1, i;
                                           ^
                                            = 0
  1 error generated.

The variable was not properly renamed, correct it to resolve the
warning.

Fixes: 93f5388147 ("ASoC: amd: acp: Modify local variables name to generic")
Link: https://github.com/ClangBuiltLinux/linux/issues/1675
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20220725180539.1315066-1-nathan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-07-26 13:02:25 +01:00
..
acp ASoC: amd: acp: Fix initialization of ext_intr_stat1 in i2s_irq_handler() 2022-07-26 13:02:25 +01:00
include
raven ASoC: amd: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:30 +01:00
renoir ASoC: amd: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:30 +01:00
rpl ASoC: amd: enable RPL Platform acp drivers build 2022-07-21 23:25:19 +01:00
vangogh ASoC: amd: vangogh: Use non-legacy DAI naming for cs35l41 2022-07-22 13:40:01 +01:00
yc ASoC: amd: yc: Update DMI table entries 2022-07-22 21:27:57 +01:00
acp3x-rt5682-max9836.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
acp-config.c ASoC: amd: acp: Add support for rt5682s and rt1019 card with hs instance 2022-06-06 12:35:01 +01:00
acp-da7219-max98357a.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
acp-es8336.c ASoC: amd: Fix error pointer dereference 2022-07-13 13:48:53 +01:00
acp-pcm-dma.c ASoC: amd: add I2S MICSP instance support 2022-07-05 13:00:44 +01:00
acp-rt5645.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
acp.h ASoC: amd: add I2S MICSP instance support 2022-07-05 13:00:44 +01:00
Kconfig ASoC: amd: enable RPL Platform acp drivers build 2022-07-21 23:25:19 +01:00
mach-config.h ASoC: amd: acp: Add support for nau8825 and max98360 card 2022-06-06 12:35:00 +01:00
Makefile ASoC: amd: enable RPL Platform acp drivers build 2022-07-21 23:25:19 +01:00