aboutsummaryrefslogtreecommitdiff
path: root/sound/hda
diff options
context:
space:
mode:
authorGravatar Mark Brown <broonie@kernel.org> 2016-03-18 12:04:23 +0000
committerGravatar Mark Brown <broonie@kernel.org> 2016-03-18 12:04:23 +0000
commit47325078f2a3e543150e7df967e45756b2fff7ec (patch)
tree30a8e46009579d86c1402e2e870f20a8525f07d5 /sound/hda
parentMerge remote-tracking branches 'asoc/topic/sunxi', 'asoc/topic/topology' and ... (diff)
downloadlinux-47325078f2a3e543150e7df967e45756b2fff7ec.tar.gz
linux-47325078f2a3e543150e7df967e45756b2fff7ec.tar.bz2
linux-47325078f2a3e543150e7df967e45756b2fff7ec.zip
ASoC: dapm: Make sure we have a card when displaying component widgets
The dummy component is reused for all cards so we special case and don't bind it to any of them. This means that code like that displaying the component widgets that tries to look at the card will crash. In the future we will fix this by ensuring that the dummy component looks like other components but that is invasive and so not suitable for a fix. Instead add a special case check here. Reported-by: Harry Pan <harry.pan@intel.com> Suggested-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions