Re: [PATCH v2] sound/soc/fsl/fsl_ssi.c: let check zero instead of check NO_IRQ

2013-09-26 Thread Chen Gang
On 09/26/2013 06:29 PM, Mark Brown wrote: > On Mon, Sep 23, 2013 at 11:36:21AM +0800, Chen Gang wrote: >> 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 f

Re: [PATCH v2] sound/soc/fsl/fsl_ssi.c: let check zero instead of check NO_IRQ

2013-09-26 Thread Mark Brown
On Mon, Sep 23, 2013 at 11:36:21AM +0800, Chen Gang wrote: > 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). Applied, thanks. signature.asc Desc

[PATCH v2] sound/soc/fsl/fsl_ssi.c: let check zero instead of check NO_IRQ

2013-09-22 Thread Chen Gang
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 w