The "index" is potentially used without being initialized on the error
path.
Fixes: fc329c1de498 ("ASoC: amd: add platform devices for acp6x pdm driver and dmic driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211130125633.GA24941@kili
Signed-off-by: Mark Brown <broonie@kernel.org>
|
||
|---|---|---|
| .. | ||
| acp | ||
| include | ||
| raven | ||
| renoir | ||
| vangogh | ||
| yc | ||
| acp3x-rt5682-max9836.c | ||
| acp-da7219-max98357a.c | ||
| acp-pcm-dma.c | ||
| acp-rt5645.c | ||
| acp.h | ||
| Kconfig | ||
| Makefile | ||