From: Sachin Kamat Date: Fri, 24 Jan 2014 10:53:22 +0000 (+0530) Subject: ASoC: samsung: Add NULL check in i2s.c X-Git-Tag: v3.14-rc1~16^2~4^2^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57e33781ce5aaab86b4db7799f3505988b5226e2;p=pandora-kernel.git ASoC: samsung: Add NULL check in i2s.c 'res' could be NULL from one of the operations above (line 1243). Thus check 'res' for NULL before releasing the region to avoid null pointer dereference. Signed-off-by: Sachin Kamat Signed-off-by: Mark Brown --- Reading git-diff-tree failed