]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: line6: fix check on snd_card_register
authorAditya Pakki <pakki001@umn.edu>
Sun, 6 Jan 2019 17:01:47 +0000 (11:01 -0600)
committerTakashi Iwai <tiwai@suse.de>
Mon, 7 Jan 2019 10:58:30 +0000 (11:58 +0100)
commitef622937cbceb979e7f0093eaee222b152e6c721
tree1291725fb6ae984d8806f6b5befe7ed923e5d19b
parent4013224c526e32534d9deb0c3401a69028563f03
ALSA: line6: fix check on snd_card_register

The fix checks if snd_card_register() fails, and if so logs the error
via dev_err() consistent with other patches.

Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/pod.c