diff options
author | David Vrabel <david.vrabel@csr.com> | 2008-11-07 12:37:33 -0500 |
---|---|---|
committer | David Vrabel <david.vrabel@csr.com> | 2008-11-07 12:37:33 -0500 |
commit | 307ba6dd73254fe7d2ce27db64ffd90e1bb3c6c0 (patch) | |
tree | 535e10e6bd399c1f1d1f55a546e0c6aa92ba9dee /drivers/uwb/uwb-internal.h | |
parent | fec1a5932f16c0eb1b3f5ca2e18d81d860924088 (diff) |
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>
Diffstat (limited to 'drivers/uwb/uwb-internal.h')
-rw-r--r-- | drivers/uwb/uwb-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/uwb/uwb-internal.h b/drivers/uwb/uwb-internal.h index 4c2449679978..af95541dabcd 100644 --- a/drivers/uwb/uwb-internal.h +++ b/drivers/uwb/uwb-internal.h | |||
@@ -248,6 +248,7 @@ extern struct device_attribute dev_attr_scan; | |||
248 | void uwb_rsv_init(struct uwb_rc *rc); | 248 | void uwb_rsv_init(struct uwb_rc *rc); |
249 | int uwb_rsv_setup(struct uwb_rc *rc); | 249 | int uwb_rsv_setup(struct uwb_rc *rc); |
250 | void uwb_rsv_cleanup(struct uwb_rc *rc); | 250 | void uwb_rsv_cleanup(struct uwb_rc *rc); |
251 | void uwb_rsv_remove_all(struct uwb_rc *rc); | ||
251 | 252 | ||
252 | void uwb_rsv_set_state(struct uwb_rsv *rsv, enum uwb_rsv_state new_state); | 253 | void uwb_rsv_set_state(struct uwb_rsv *rsv, enum uwb_rsv_state new_state); |
253 | void uwb_rsv_remove(struct uwb_rsv *rsv); | 254 | void uwb_rsv_remove(struct uwb_rsv *rsv); |