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)
commit02cc53e223d498010de5f114d72c11a2d55118e8
tree1291725fb6ae984d8806f6b5befe7ed923e5d19b
parentc99776cc4018e91c66bd448002e924edd4910947
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