From: Jie Yang Date: Wed, 7 Jan 2015 14:07:05 +0000 (+0800) Subject: ASoC: Intel: Add NULL checks for the stream pointer X-Git-Tag: fixes-v4.0-rc1~197^2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f81677b4d1acc0e7cd74a43bfd9900d9512b90ae;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed