[PATCH] serial core: work around sub-driver bugs
authorPavel Machek <pavel@ucw.cz>
Wed, 8 Mar 2006 05:55:20 +0000 (21:55 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Mar 2006 22:14:00 +0000 (14:14 -0800)
commitd5f735e52fb41e032b0db08aa20c02dbb9cd0db3
tree901eb8df0c58c1776dda88e91b997e6c0d39b48c
parent1c6cc5fd32978ffdc4d0acf8592d3901adefbdad
[PATCH] serial core: work around sub-driver bugs

We're presently getting oopses because Bluetooth (and possibly other) drivers
are calling core functions after things have been shut down.

So rather than oopsing, let's drop a warning then take avoiding action, so the
machine survives.  Once all the sub-drivers are fixed up we can remove the
take-avoiding-action part.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/serial/serial_core.c