USB: ftdi_sio: fix oops due to processing workarounds too early
authorOliver Neukum <oliver@neukum.org>
Mon, 9 Jul 2007 19:03:08 +0000 (12:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:34:40 +0000 (16:34 -0700)
commit0ffbbe25a73db12792a05f725aa39f8a5de2c882
tree1ffc276b87738797558df1ed41e397450659f61e
parenta69228deefea57ca27c17a196e5727b091c6d323
USB: ftdi_sio: fix oops due to processing workarounds too early

Fix an oops that happens in relation with applying work arounds for buggy
ftdi_sio devices.  The quirks were handled too early because due to changes in
the initialisation of usb serial devices the device was not fully initialised
when the old hook was called.

Addresses bug 8564

Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c