]> git.baikalelectronics.ru Git - kernel.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)
commitf0112d6a6c41028a8b4303d9691580476c72bfac
tree942c1b91cbd885c74b80879a6fd23d61498dd9d1
parenta5957fd4dec014f00da47ecac203b906c1a03efd
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