staging: wilc1000: use completions in host_interface
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 0 repliesNew
- v11 patch 4 repliesSuperseded
Changes in v3 from the cover letter
- rebase/rebuild
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | staging: wilc1000: replace semaphore sem_inactive_time with a completiondrivers/ drivers/ | +5 | 0 replies | |
| 2/4 | staging: wilc1000: replace semaphore sem_get_rssi with a completiondrivers/ drivers/ | +4 | 0 replies | |
| 3/4 | staging: wilc1000: replace sem_test_disconn_block with a completiondrivers/ drivers/ | +4 | 0 replies | |
| 4/4 | staging: wilc1000: replace sem_test_key_block with a completiondrivers/ drivers/ | +13 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Arnd Bergmann | Leo Kim |
|---|---|---|
| 1/4 | R-b | T-b |
| 2/4 | R-b | T-b |
| 3/4 | R-b | T-b |
| 4/4 | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/4] staging: wilc1000: use completions in host_interface
This patchset replaces the semaphores in struct host_if_drv with the more preferred locking mechanisms completions.
Each semaphore was used in the send/receive of HOST_IF_MSG_* messages. Each builds and queues a message (LOCK!) and then a corresponding "Handler" function is called from the hostIFthread() when the message is returned (UNLOCK).
Note that in Patch 4 you will not see a 1:1 correspondence between wait_for_completion and complete. Whereas 6 different functions build the KEY messages, only 5 handlers are used.
Changes in v2
- spun off patch 5 as a separate patch so that this set only includes
semaphores->completions
- rebase/rebuild
Changes in v3
- rebase/rebuild
Alison Schofield (4):
staging: wilc1000: replace semaphore sem_inactive_time with a
completion
staging: wilc1000: replace semaphore sem_get_rssi with a completion
staging: wilc1000: replace sem_test_disconn_block with a completion
staging: wilc1000: replace sem_test_key_block with a completion
drivers/staging/wilc1000/host_interface.c | 43 ++++++++++++++++--------------- drivers/staging/wilc1000/host_interface.h | 8 +++--- 2 files changed, 26 insertions(+), 25 deletions(-)
Signature · 1 line
2.1.4