projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04b9906
)
ALSA: riptide: fix %d confusingly prefixed with 0x in format strings
author
Hans Wennborg
<hans@hanshq.net>
Mon, 4 Aug 2014 00:21:25 +0000
(17:21 -0700)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 4 Aug 2014 11:17:53 +0000
(13:17 +0200)
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/riptide/riptide.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/riptide/riptide.c
b/sound/pci/riptide/riptide.c
index b4a8278241b12ffc4d33c82841cccb96a5cafdcf..f0315c3f7de44b401a700729641756ce729c4d76 100644
(file)
--- a/
sound/pci/riptide/riptide.c
+++ b/
sound/pci/riptide/riptide.c
@@
-941,7
+941,7
@@
setmixer(struct cmdif *cif, short num, unsigned short rval, unsigned short lval)
union cmdret rptr = CMDRET_ZERO;
int i = 0;
- snd_printdd("sent mixer %d: 0x%
d 0x%d
\n", num, rval, lval);
+ snd_printdd("sent mixer %d: 0x%
x 0x%x
\n", num, rval, lval);
do {
SEND_SDGV(cif, num, num, rval, lval);
SEND_RDGV(cif, num, num, &rptr);
@@
-1080,7
+1080,7
@@
getmixer(struct cmdif *cif, short num, unsigned short *rval,
return -EIO;
*rval = rptr.retwords[0];
*lval = rptr.retwords[1];
- snd_printdd("got mixer %d: 0x%
d 0x%d
\n", num, *rval, *lval);
+ snd_printdd("got mixer %d: 0x%
x 0x%x
\n", num, *rval, *lval);
return 0;
}