From: Wei Yongjun Date: Fri, 25 Oct 2013 09:29:25 +0000 (+0800) Subject: ASoC: fsl_spdif: fix return value check in fsl_spdif_probe() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~14^2~44^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d8f7318f929f3b84571ffac2ef7bf8bddfb6d41;p=pandora-kernel.git ASoC: fsl_spdif: fix return value check in fsl_spdif_probe() In case of error, the function platform_get_resource() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun Signed-off-by: Mark Brown --- Reading git-diff-tree failed