ALSA: lx6464es: add error handling for pci_ioremap_bar
authorZhouyang Jia <jiazhouyang09@gmail.com>
Thu, 14 Jun 2018 13:51:46 +0000 (21:51 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 14 Jun 2018 16:01:06 +0000 (18:01 +0200)
commit4a23fc8cc068ee5adfb9939d86baaf0f3e180df6
treee1cc3bee325e12ff247633bcc276d54ee4c706a1
parent41538f2db1eaa8613ffb3cd0c92a57ace6c0a5f2
ALSA: lx6464es: add error handling for pci_ioremap_bar

When pci_ioremap_bar fails, the lack of error-handling code may
cause unexpected results.

This patch adds error-handling code after calling pci_ioremap_bar.

Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/lx6464es/lx6464es.c