OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
559deb4
)
Skip resmgr when EAGAIN or EBUSY
author
Takashi Iwai
<tiwai@suse.de>
Fri, 13 Jan 2006 15:09:40 +0000
(15:09 +0000)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 13 Jan 2006 15:09:40 +0000
(15:09 +0000)
Skip resmgr when EAGAIN or EBUSY.
include/local.h
patch
|
blob
|
history
diff --git
a/include/local.h
b/include/local.h
index
cf7dd10
..
bf53d51
100644
(file)
--- a/
include/local.h
+++ b/
include/local.h
@@
-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