]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: Check for a CODEC before dereferencing in DAPM
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 2 Mar 2011 18:18:24 +0000 (18:18 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 3 Mar 2011 11:15:03 +0000 (11:15 +0000)
commit88e8b9a84b41be8ea37cf3bbe192e72f84747f66
tree5a86710db573932a0308c3aefa900b6233362c64
parent12ea2c782e8bd98bcbf88165b2fd1610d1b9a81d
ASoC: Check for a CODEC before dereferencing in DAPM

A CODEC pointer is optional (and is checked for in most contexts within
DAPM) - add checks to the few places where it was missed.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/soc-dapm.c