commit | f81677b4d1acc0e7cd74a43bfd9900d9512b90ae | [log] [tgz] |
---|---|---|
author | Jie Yang <yang.jie@intel.com> | Wed Jan 07 22:07:05 2015 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Jan 07 17:32:19 2015 +0000 |
tree | 14c2e50b3e7cbda84e929cde8502506405a7a882 | |
parent | d83901e82010cb3b25e69a9bbe991e9fbd940725 [diff] |
ASoC: Intel: Add NULL checks for the stream pointer We should not send IPC stream commands to FW when the stream is NULL, dereference the NULL pointer may also occur without precheck. Here add NULL pointer checks for these stream APIs. Signed-off-by: Jie Yang <yang.jie@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>