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>
This commit is contained in:
@@ -248,6 +248,7 @@ extern struct device_attribute dev_attr_scan;
|
||||
void uwb_rsv_init(struct uwb_rc *rc);
|
||||
int uwb_rsv_setup(struct uwb_rc *rc);
|
||||
void uwb_rsv_cleanup(struct uwb_rc *rc);
|
||||
void uwb_rsv_remove_all(struct uwb_rc *rc);
|
||||
|
||||
void uwb_rsv_set_state(struct uwb_rsv *rsv, enum uwb_rsv_state new_state);
|
||||
void uwb_rsv_remove(struct uwb_rsv *rsv);
|
||||
|
Reference in New Issue
Block a user