]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: echoaudio: add a check for ioremap_nocache
authorKangjie Lu <kjlu@umn.edu>
Fri, 15 Mar 2019 03:58:29 +0000 (22:58 -0500)
committerTakashi Iwai <tiwai@suse.de>
Sat, 16 Mar 2019 09:29:02 +0000 (10:29 +0100)
commit0a979b92717341639c2dc951c0c91a19f3a3c28d
tree563848112b08ad5b76c4f70b46cc3fe9af1ad936
parent3bd77dd3eae32457f8df75ef1c535975ca702fcc
ALSA: echoaudio: add a check for ioremap_nocache

In case ioremap_nocache fails, the fix releases chip and returns
an error code upstream to avoid NULL pointer dereference.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/echoaudio/echoaudio.c