mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-01 14:52:32 +00:00
ALSA: riptide: fix %d confusingly prefixed with 0x in format strings
Signed-off-by: Hans Wennborg <hans@hanshq.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
04b9906d8c
commit
47efe636ad
@ -941,7 +941,7 @@ setmixer(struct cmdif *cif, short num, unsigned short rval, unsigned short lval)
|
|||||||
union cmdret rptr = CMDRET_ZERO;
|
union cmdret rptr = CMDRET_ZERO;
|
||||||
int i = 0;
|
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 {
|
do {
|
||||||
SEND_SDGV(cif, num, num, rval, lval);
|
SEND_SDGV(cif, num, num, rval, lval);
|
||||||
SEND_RDGV(cif, num, num, &rptr);
|
SEND_RDGV(cif, num, num, &rptr);
|
||||||
@ -1080,7 +1080,7 @@ getmixer(struct cmdif *cif, short num, unsigned short *rval,
|
|||||||
return -EIO;
|
return -EIO;
|
||||||
*rval = rptr.retwords[0];
|
*rval = rptr.retwords[0];
|
||||||
*lval = rptr.retwords[1];
|
*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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user