Skip to content
Unverified Commit 8633d440 authored by Pankaj Bharadiya's avatar Pankaj Bharadiya Committed by Mark Brown
Browse files

ASoC: dapm: Initialize private_value in snd_soc_dapm_new_dai



In case of single config, private_value is left uninitialized.

The private_value does need to be initialized or in
snd_soc_dapm_new_control_unlocked() call failure case, it leads to a
bogus free in snd_soc_dapm_free_kcontrol()

Signed-off-by: default avatarPankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 78540a25
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment