From: Chen Gang Date: Mon, 23 Sep 2013 03:36:21 +0000 (+0800) Subject: ASoC: fsl_ssi: let check zero instead of check NO_IRQ X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~14^2~72^2~27^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d60336e2f136287de821901d4a1b56179a0f7b69;p=pandora-kernel.git ASoC: fsl_ssi: let check zero instead of check NO_IRQ NO_IRQ may be defined as '(unsigned int) -1' in some architectures (arm, sh ...), and either may not be defined in some architectures which can enable SND_SOC_FSL_SSI (e.g. allmodconfig for arc). When irq_of_parse_and_map() fails, it will always return 0, so need check zero instead of NO_IRQ, or will cause compiling issue or run time bug in some architectures. Signed-off-by: Chen Gang Signed-off-by: Mark Brown --- Reading git-diff-tree failed