diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-07-25 19:40:17 +0300 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-26 17:02:38 +0100 |
commit | ba51cbb8206cdba789a1f65b06526bb20f51d594 (patch) | |
tree | 152c0c40a00ad6d82228dd3c1a58ead40765a171 /sound/soc/codecs/adau1701.c | |
parent | 96b9bc6174a030691a4a60b0117ba7718d2bb27a (diff) | |
download | linux-stable-ba51cbb8206cdba789a1f65b06526bb20f51d594.tar.gz linux-stable-ba51cbb8206cdba789a1f65b06526bb20f51d594.tar.bz2 linux-stable-ba51cbb8206cdba789a1f65b06526bb20f51d594.zip |
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 <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/adau1701.c')
-rw-r--r-- | sound/soc/codecs/adau1701.c | 2 |
1 files changed, 1 insertions, 1 deletions
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" |