]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Apr 2019 07:07:46 +0000 (09:07 +0200)
commita3e47ff19026e6f11df466ae4325e51b985bcc47
treee39c10c3bf18c6ef1e99e232edaa8438b1186d47
parent39649029345b27517de5d88e3e44e311a8e5fc7d
ALSA: echoaudio: add a check for ioremap_nocache

[ Upstream commit 6ade657d6125ec3ec07f95fa51e28138aef6208f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/echoaudio/echoaudio.c