uwb: avoid radio controller reset loops
If a radio controller reset attempt occurs while a probe() or remove()
is in progress it fails and is retried endlessly, potentially preventing
the probe() or remove() from completing.
If a reset fails, sleep for a bit before retrying the reset. This
allows the probe()/remove() to complete.
Signed-off-by:
David Vrabel <david.vrabel@csr.com>
Showing
- drivers/uwb/hwa-rc.c 1 addition, 2 deletionsdrivers/uwb/hwa-rc.c
- drivers/uwb/reset.c 11 additions, 10 deletionsdrivers/uwb/reset.c
- drivers/uwb/umc-bus.c 1 addition, 1 deletiondrivers/uwb/umc-bus.c
- drivers/uwb/whc-rc.c 1 addition, 2 deletionsdrivers/uwb/whc-rc.c
- include/linux/uwb.h 1 addition, 1 deletioninclude/linux/uwb.h
Loading
Please register or sign in to comment