mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
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: 3e8f3bd047
("ALSA: usb-audio: RME Babyface Pro mixer patch")
Signed-off-by: Thomas Ebeling <penguins@bollie.de>
Reported-by: kbuild test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20200529173248.zzawijfvw73kzjxt@bollie.ca9.eu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
8191743d5f
commit
f99e24a677
1 changed files with 2 additions and 2 deletions
|
@ -2255,7 +2255,7 @@ static int snd_bbfpro_ctl_update(struct usb_mixer_interface *mixer, u8 reg,
|
||||||
err = snd_usb_ctl_msg(chip->dev,
|
err = snd_usb_ctl_msg(chip->dev,
|
||||||
usb_sndctrlpipe(chip->dev, 0), usb_req,
|
usb_sndctrlpipe(chip->dev, 0), usb_req,
|
||||||
USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
|
USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
|
||||||
usb_val, usb_idx, 0, 0);
|
usb_val, usb_idx, NULL, 0);
|
||||||
|
|
||||||
snd_usb_unlock_shutdown(chip);
|
snd_usb_unlock_shutdown(chip);
|
||||||
return err;
|
return err;
|
||||||
|
@ -2394,7 +2394,7 @@ static int snd_bbfpro_vol_update(struct usb_mixer_interface *mixer, u16 index,
|
||||||
SND_BBFPRO_USBREQ_MIXER,
|
SND_BBFPRO_USBREQ_MIXER,
|
||||||
USB_DIR_OUT | USB_TYPE_VENDOR |
|
USB_DIR_OUT | USB_TYPE_VENDOR |
|
||||||
USB_RECIP_DEVICE,
|
USB_RECIP_DEVICE,
|
||||||
usb_val, usb_idx, 0, 0);
|
usb_val, usb_idx, NULL, 0);
|
||||||
|
|
||||||
snd_usb_unlock_shutdown(chip);
|
snd_usb_unlock_shutdown(chip);
|
||||||
return err;
|
return err;
|
||||||
|
|
Loading…
Reference in a new issue