projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1ac022
)
pcmcia: Fix ti12xx_2nd_slot_empty always failing
author
Alex Harford
<aharford@inmotiontechnology.com>
Sun, 15 Jun 2008 17:34:25 +0000
(10:34 -0700)
committer
Dominik Brodowski
<linux@dominikbrodowski.net>
Tue, 24 Jun 2008 13:33:41 +0000
(15:33 +0200)
For TI 1520 and others, ti12xx_2nd_slot_empty was reading card detect from
the wrong slot, and always failing.
Signed-off-by: Alex Harford <alex.harford@inmotiontechnology.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/ti113x.h
patch
|
blob
|
history
diff --git
a/drivers/pcmcia/ti113x.h
b/drivers/pcmcia/ti113x.h
index 87a5fd5c2127afdf5c5805d541cfe0f544b71355..129db7bd06c3661e291204f893bb4c6dedbcccd6 100644
(file)
--- a/
drivers/pcmcia/ti113x.h
+++ b/
drivers/pcmcia/ti113x.h
@@
-692,7
+692,7
@@
static int ti12xx_2nd_slot_empty(struct yenta_socket *socket)
goto out;
/* check state */
- yenta_get_status(&s
ocket
->socket, &state);
+ yenta_get_status(&s
lot2
->socket, &state);
if (state & SS_DETECT) {
ret = 0;
goto out;