mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
5c81a4e24c
commit 265d1a90e4
upstream.
Add separate init function to call the existing controls_create
function so a custom error can be displayed if initialisation fails.
Use info level instead of error for notifications.
Display the VID/PID so device_setup is targeted to the right device.
Display "enabled" message to easily confirm that the driver is loaded.
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/b5d140c65f640faf2427e085fbbc0297b32e5fce.1621584566.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 lines
217 B
C
8 lines
217 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __USB_MIXER_SCARLETT_GEN2_H
|
|
#define __USB_MIXER_SCARLETT_GEN2_H
|
|
|
|
int snd_scarlett_gen2_init(struct usb_mixer_interface *mixer);
|
|
|
|
#endif /* __USB_MIXER_SCARLETT_GEN2_H */
|