diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-09-23 05:36:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-26 12:28:52 +0200 |
commit | d60336e2f136287de821901d4a1b56179a0f7b69 (patch) | |
tree | 9d899b645a49971f75b87e5ed164862aaf03be0c /drivers/isdn/hisax/isar.c | |
parent | ASoC: fsl: fsl_ssi: Fix simultaneous capture and playback (diff) | |
download | linux-d60336e2f136287de821901d4a1b56179a0f7b69.tar.xz linux-d60336e2f136287de821901d4a1b56179a0f7b69.zip |
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 <gang.chen@asianux.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/isdn/hisax/isar.c')
0 files changed, 0 insertions, 0 deletions