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:
parent
fec1a5932f
commit
307ba6dd73
8 changed files with 155 additions and 42 deletions
|
@ -540,6 +540,8 @@ void uwb_rc_rm(struct uwb_rc *);
|
|||
void uwb_rc_neh_grok(struct uwb_rc *, void *, size_t);
|
||||
void uwb_rc_neh_error(struct uwb_rc *, int);
|
||||
void uwb_rc_reset_all(struct uwb_rc *rc);
|
||||
void uwb_rc_pre_reset(struct uwb_rc *rc);
|
||||
void uwb_rc_post_reset(struct uwb_rc *rc);
|
||||
|
||||
/**
|
||||
* uwb_rsv_is_owner - is the owner of this reservation the RC?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue