Skip to content
Snippets Groups Projects
Unverified Commit d5c137f4 authored by Dan Carpenter's avatar Dan Carpenter Committed by Mark Brown
Browse files

ASoC: amd: fix uninitialized variable in snd_acp6x_probe()


The "index" is potentially used without being initialized on the error
path.

Fixes: fc329c1d ("ASoC: amd: add platform devices for acp6x pdm driver and dmic driver")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211130125633.GA24941@kili


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 53689f7f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment