]> bbs.cooldavid.org Git - net-next-2.6.git/commit
tty: serial - fix various misuses/mishandlings of port->tty
authorAlan Cox <alan@linux.intel.com>
Tue, 1 Jun 2010 20:52:51 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 20:47:41 +0000 (13:47 -0700)
commit192251352f912bccfb942ea35801d2357f11f592
treebd6215250edc64b9c5844455cdfcd800ea395b16
parenta360fae67bc173942f620d44d1b23cfb5ccaaf96
tty: serial - fix various misuses/mishandlings of port->tty

Make it robust against hang up events. In most cases we can do this simply
by passing the right things in the first place.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/serial_core.c