]> err.no Git - linux-2.6/commit
[PATCH] spi: Fix modular master driver remove and device suspend/remove
authorStephen Street <stephen@streetfiresound.com>
Tue, 21 Feb 2006 02:27:56 +0000 (18:27 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 21 Feb 2006 04:00:09 +0000 (20:00 -0800)
commitd2799f083dcad0413ad1a396e9bc32d9afb70535
treee3ff753888f2e03437b9ab951269d213fe522e20
parentd86d43706a27bb87c2873de369f94a10f8758063
[PATCH] spi: Fix modular master driver remove and device suspend/remove

Fix two problems in the spi subsystem:

1) spi subsystem core dumps when modular spi master is unloaded.
2) spi subsystem core dumps when spi slave device is suspended/resumed and
   module slave driver is not loaded.

Signed-off-by: Stephen Street <stephen@streetfiresound.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/spi/spi.c