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: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Kangjie Lu 2019-03-14 23:04:14 -05:00 • committed by Takashi Iwai
commit dcd0feac9b