]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: pcm: Check for ops before deferencing them
authorMark Brown <broonie@linaro.org>
Thu, 31 Oct 2013 00:47:39 +0000 (17:47 -0700)
committerMark Brown <broonie@linaro.org>
Thu, 31 Oct 2013 17:57:47 +0000 (10:57 -0700)
commitc5914b0aaea6494aaa9e415cbd32f8b7eb604af0
tree942c1b91cbd885c74b80879a6fd23d61498dd9d1
parenta19685cb72bb6a80ac453e76b3ab3bb7770e1742
ASoC: pcm: Check for ops before deferencing them

Ensure that we always check that an ops structure is present before we
try to use it, improving the robustness of the system.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-pcm.c