From: Dan Carpenter Date: Thu, 25 Jul 2013 16:40:17 +0000 (+0300) Subject: ASoC: adau1701: type bug with ADAU1707_CLKDIV_UNSET X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ba51cbb8206cdba789a1f65b06526bb20f51d594;p=deliverable%2Flinux.git ASoC: adau1701: type bug with ADAU1707_CLKDIV_UNSET ADAU1707_CLKDIV_UNSET is always compared against an unsigned int and not an unsigned long. The current tests are always false. Signed-off-by: Dan Carpenter Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/adau1701.c b/sound/soc/codecs/adau1701.c index 44d8a95d9ec3..2c102522bbbc 100644 --- a/sound/soc/codecs/adau1701.c +++ b/sound/soc/codecs/adau1701.c @@ -91,7 +91,7 @@ #define ADAU1701_OSCIPOW_OPD 0x04 #define ADAU1701_DACSET_DACINIT 1 -#define ADAU1707_CLKDIV_UNSET (-1UL) +#define ADAU1707_CLKDIV_UNSET (-1U) #define ADAU1701_FIRMWARE "adau1701.bin"