Skip to content

Commit f99e24a

Browse files
Thomas Ebelingtiwai
authored andcommitted
ALSA: usb-audio: Fixing usage of plain int instead of NULL
As reported by kbuild test robot, mixer quirks for RME Babyface Pro used plain integer instead of NULL. Fixes: 3e8f3bd ("ALSA: usb-audio: RME Babyface Pro mixer patch") Signed-off-by: Thomas Ebeling <[email protected]> Reported-by: kbuild test robot <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 8191743 commit f99e24a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/usb/mixer_quirks.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2255,7 +2255,7 @@ static int snd_bbfpro_ctl_update(struct usb_mixer_interface *mixer, u8 reg,
22552255
err = snd_usb_ctl_msg(chip->dev,
22562256
usb_sndctrlpipe(chip->dev, 0), usb_req,
22572257
USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
2258-
usb_val, usb_idx, 0, 0);
2258+
usb_val, usb_idx, NULL, 0);
22592259

22602260
snd_usb_unlock_shutdown(chip);
22612261
return err;
@@ -2394,7 +2394,7 @@ static int snd_bbfpro_vol_update(struct usb_mixer_interface *mixer, u16 index,
23942394
SND_BBFPRO_USBREQ_MIXER,
23952395
USB_DIR_OUT | USB_TYPE_VENDOR |
23962396
USB_RECIP_DEVICE,
2397-
usb_val, usb_idx, 0, 0);
2397+
usb_val, usb_idx, NULL, 0);
23982398

23992399
snd_usb_unlock_shutdown(chip);
24002400
return err;

0 commit comments

Comments
 (0)