pcmcia: deprecate CS_IN_USE
If a resource is already in use, mark it with -EBUSY. Same for cards already asleep. (includes a fix for a bug found by Larry Finger -- thanks!) Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
+1
-1
@@ -314,7 +314,7 @@ typedef struct error_info_t {
|
||||
#define CS_BAD_ARG_LENGTH -ENODEV
|
||||
#define CS_BAD_ARGS 0x1c
|
||||
#define CS_CONFIGURATION_LOCKED -EACCES
|
||||
#define CS_IN_USE 0x1e
|
||||
#define CS_IN_USE -EBUSY
|
||||
#define CS_NO_MORE_ITEMS 0x1f
|
||||
#define CS_OUT_OF_RESOURCE -ENOMEM
|
||||
#define CS_BAD_HANDLE -EINVAL
|
||||
|
||||
Reference in New Issue
Block a user