projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96b9bc6
)
ASoC: adau1701: type bug with ADAU1707_CLKDIV_UNSET
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 25 Jul 2013 16:40:17 +0000
(19:40 +0300)
committer
Mark Brown
<broonie@linaro.org>
Fri, 26 Jul 2013 16:02:38 +0000
(17:02 +0100)
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>
sound/soc/codecs/adau1701.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/adau1701.c
b/sound/soc/codecs/adau1701.c
index 44d8a95d9ec373d12e15e0a6810bee814f19a516..2c102522bbbc5202fb94d8d119b65a782c77e035 100644
(file)
--- 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 (-1U
L
)
+#define ADAU1707_CLKDIV_UNSET (-1U)
#define ADAU1701_FIRMWARE "adau1701.bin"