]> git.baikalelectronics.ru Git - kernel.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)
commit5b03fba346c73eb6117ec96da292f066ebe8a47e
tree5a86710db573932a0308c3aefa900b6233362c64
parent1df7380875658a82b2dccb294890a9a18457a090
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