projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
310c8c3
)
[PATCH] parport: daisy chain device id reading fix
author
Marko Kohtala
<marko.kohtala@gmail.com>
Fri, 6 Jan 2006 08:19:46 +0000
(
00:19
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:57 +0000
(08:33 -0800)
Device ID reading from daisy chain devices failed because the daisy
device could not be opened.
Signed-off-by: Marko Kohtala <marko.kohtala@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/parport/daisy.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/parport/daisy.c
b/drivers/parport/daisy.c
index 6915114b95365806ba2925474ac42843ec60d5eb..37dc1793351823e8d8bf71e5be3a08b2459f79c7 100644
(file)
--- a/
drivers/parport/daisy.c
+++ b/
drivers/parport/daisy.c
@@
-252,7
+252,7
@@
struct pardevice *parport_open (int devnum, const char *name,
selected = port->daisy;
parport_release (dev);
- if (selected !=
port->
daisy) {
+ if (selected != daisy) {
/* No corresponding device. */
parport_unregister_device (dev);
return NULL;