USB: pl2303: Move pl2303 vendor specific init to probe function.
authorSarah Sharp <saharabeara@gmail.com>
Fri, 14 Dec 2007 22:08:35 +0000 (14:08 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:55 +0000 (14:34 -0800)
commit3e152505a57db6622deb1322c22551c046e33d16
treec6fd97a1a5a882e41e30c6e97efe6ca1182fe13e
parenteb44da0b3aa0105cb38d81c5747a8feae64834be
USB: pl2303: Move pl2303 vendor specific init to probe function.

Without this fix, the pl2303 usb-serial adapter would not suspend properly
unless it had been opened first.  A pl2303 type_1 chip will still break if the
system is hibernated while the RS-232 connector is powered by another system.
This was broken before, and a reset resume does not fix it.  All other suspend
and autosuspend scenarios work with ATEN pl2303 adaptors with HX and type_1 chips.

Signed-off-by: Sarah Sharp <saharabeara@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/pl2303.c