Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c29a75ed authored by Marko Kohtala's avatar Marko Kohtala Committed by Linus Torvalds
Browse files

[PATCH] parport: daisy chain device id reading fix



Device ID reading from daisy chain devices failed because the daisy
device could not be opened.

Signed-off-by: default avatarMarko Kohtala <marko.kohtala@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 310c8c32
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;