uwb: don't unbind the radio controller driver when resetting
authorDavid Vrabel <david.vrabel@csr.com>
Fri, 7 Nov 2008 17:37:33 +0000 (17:37 +0000)
committerDavid Vrabel <david.vrabel@csr.com>
Fri, 7 Nov 2008 17:37:33 +0000 (17:37 +0000)
commit307ba6dd73254fe7d2ce27db64ffd90e1bb3c6c0
tree535e10e6bd399c1f1d1f55a546e0c6aa92ba9dee
parentfec1a5932f16c0eb1b3f5ca2e18d81d860924088
uwb: don't unbind the radio controller driver when resetting

Use pre_reset and post_reset methods to avoid unbinding the radio
controller driver after a uwb_rc_reset_all() call.  This avoids a
deadlock in uwb_rc_rm() when waiting for the uwb event thread to stop.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
drivers/uwb/hwa-rc.c
drivers/uwb/reset.c
drivers/uwb/rsv.c
drivers/uwb/umc-bus.c
drivers/uwb/uwb-internal.h
drivers/uwb/whc-rc.c
include/linux/uwb.h
include/linux/uwb/umc.h