sound: oss: msnd: check request_region() return value
authorKulikov Vasiliy <segooon@gmail.com>
Thu, 29 Jul 2010 10:45:50 +0000 (14:45 +0400)
committerTakashi Iwai <tiwai@suse.de>
Thu, 29 Jul 2010 11:48:57 +0000 (13:48 +0200)
commit9c29490246ed80975ab8b87bcd4ebe5b87c1c1d6
treebd20d40cc243649252a8afe6a749804f1960985c
parentfa95a6471ffaa6f40d71f44fc4d4636ee17280f5
sound: oss: msnd: check request_region() return value

request_region() may fail, if so return -EBUSY.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/msnd_pinnacle.c