Jiri Slaby
86fbf1486a
[PATCH] Char: correct pci_get_device changes
...
Commits 881a8c120acf7ec09c90289e2996b7c70f51e996 and
efe1ec27837d6639eae82e1f5876910ba6433c3f corrects pci device matching in
only one way; it no longer oopses/crashes, despite hotplug is not solved
in these changes.
Whenever pci_find_device -> pci_get_device change is performed, also
pci_dev_get and pci_dev_put should be in most cases called to properly
handle hotplug. This patch does exactly this thing -- increase refcount
to let kernel know, that we are using this piece of HW just now.
It affects moxa and rio char drivers.
Cc: <R.E.Wolff@BitWizard.nl>
Acked-by: Amit Gud <gud@eth.net>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-21 13:35:05 -07:00
..
2006-10-04 06:50:16 -06:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-04 03:38:54 -04:00
2006-10-11 11:17:07 -07:00
2006-10-20 10:26:44 -07:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-21 13:35:05 -07:00
2006-10-11 11:14:22 -07:00
2006-10-18 08:24:30 -04:00
2006-10-03 17:59:17 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2005-04-16 15:20:36 -07:00
2006-10-04 03:38:54 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00
2005-04-16 15:20:36 -07:00
2006-07-03 15:26:59 -07:00
2006-10-05 15:10:12 +01:00
2006-06-30 19:25:36 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:20 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:20 -07:00
2005-04-16 15:20:36 -07:00
2006-10-01 00:39:21 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-10-05 15:10:12 +01:00
2006-07-03 15:26:59 -07:00
2006-10-17 08:18:48 -07:00
2006-10-04 07:55:13 -07:00
2005-04-16 15:20:36 -07:00
2006-10-05 15:10:12 +01:00
2006-03-28 23:15:54 +11:00
2006-10-04 07:55:13 -07:00
2006-07-03 15:26:59 -07:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-07-13 18:53:32 +10:00
2006-10-04 15:02:27 +10:00
2006-07-13 18:53:32 +10:00
2006-09-25 13:30:51 +10:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-10-05 15:10:12 +01:00
2006-10-10 15:37:22 -07:00
2006-10-16 12:19:03 -07:00
2006-10-05 15:10:12 +01:00
2006-07-03 15:26:59 -07:00
2005-10-29 19:30:42 +01:00
2006-09-29 09:18:10 -07:00
2006-10-03 17:59:17 +01:00
2006-10-05 15:10:12 +01:00
2005-05-04 07:33:13 -07:00
2006-10-13 08:42:10 -07:00
2006-07-03 15:26:59 -07:00
2006-10-05 15:10:12 +01:00
2006-10-21 13:35:05 -07:00
2006-10-04 03:38:54 -04:00
2006-10-05 15:10:12 +01:00
2006-03-28 09:16:08 -08:00
2006-06-30 19:25:36 +02:00
2006-06-25 10:01:17 -07:00
2006-06-28 14:59:05 -07:00
2006-10-04 03:38:54 -04:00
2006-07-03 15:26:59 -07:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-07-03 15:26:59 -07:00
2006-09-29 09:18:05 -07:00
2006-10-05 15:10:12 +01:00
2006-10-02 07:57:14 -07:00
2006-10-11 01:43:58 -04:00
2006-10-01 00:39:28 -07:00
2005-04-16 15:20:36 -07:00
2006-10-06 15:00:58 -04:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:25:04 -07:00
2006-10-02 07:57:14 -07:00
2005-04-16 15:20:36 -07:00
2006-10-09 23:20:47 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-12 09:09:00 -08:00
2006-09-29 09:18:06 -07:00
2006-09-29 09:18:12 -07:00
2006-10-05 15:10:12 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-15 11:00:58 -07:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-01-26 13:32:26 -08:00
2006-10-05 15:10:12 +01:00
2005-04-16 15:20:36 -07:00
2006-10-17 08:18:44 -07:00
2006-10-05 15:10:12 +01:00
2006-10-17 08:18:45 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-05 15:10:12 +01:00
2006-10-17 08:18:42 -07:00
2006-10-05 15:10:12 +01:00
2006-10-06 16:38:42 +02:00
2006-07-03 15:26:59 -07:00
2006-10-03 08:04:19 -07:00
2006-10-05 15:10:12 +01:00
2006-07-03 15:26:59 -07:00
2006-10-02 07:57:14 -07:00
2006-09-29 09:18:24 -07:00
2006-09-29 09:18:10 -07:00
2006-10-07 10:10:27 +10:00
2006-07-13 18:56:00 +10:00
2006-10-07 10:51:14 -07:00
2006-10-05 15:10:12 +01:00
2006-10-02 07:57:14 -07:00
2006-10-03 08:04:12 -07:00