aboutsummaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-06-03 17:44:49 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-06-04 13:24:08 +0100
commite3509ff0fb9df53e45cd68488e3b463a80455db7 (patch)
tree9d13f9747af6107ca194e1be142db2a7041f5c18 /ipc
parentd08664fdb50795b29cf70b0269ea02f7248e76c3 (diff)
ASoC: fix NULL pointer dereference in soc_suspend()
In case the initalization of an soc_device failed, there is no codec associated with it. soc_suspend() will still dereference the pointer and cause an Ooops when entering the sleep mode. This happens on our board with a multi-target kernel image when booted on a machine without audio circuits. This patch makes the code bail out very early in this special case. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions