Skip resmgr when EAGAIN or EBUSY

Skip resmgr when EAGAIN or EBUSY.
This commit is contained in:
Takashi Iwai 2006-01-13 15:09:40 +00:00
parent 559deb4d95
commit add3a4a1e2

View file

@ -236,6 +236,8 @@ static inline int snd_open_device(const char *filename, int fmode)
int fd = open(filename, fmode);
if (fd >= 0)
return fd;
if (errno == EAGAIN || errno == EBUSY)
return fd;
return rsm_open_device(filename, fmode);
}
#else