Skip to content
Commit dcd0feac authored by Kangjie Lu's avatar Kangjie Lu Committed by Takashi Iwai
Browse files

ALSA: sb8: add a check for request_region



In case request_region fails, the fix returns an error code to
avoid NULL pointer dereference.

Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6ade657d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment