summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/TODO
diff options
context:
space:
mode:
authorBinoy Jayan <binoy.jayan@linaro.org>2016-06-23 11:11:51 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-25 14:39:53 -0700
commit2518ac59eb27ed003c5a97e8f9588adafdfe4a8a (patch)
tree45535cd547b06ad0ccb83f37c5434cde010587c7 /drivers/staging/wilc1000/TODO
parentc6bb38a5e82a26c6556e05d2140c3a1b4176c2ab (diff)
downloadop-kernel-dev-2518ac59eb27ed003c5a97e8f9588adafdfe4a8a.zip
op-kernel-dev-2518ac59eb27ed003c5a97e8f9588adafdfe4a8a.tar.gz
staging: wilc1000: Replace kthread with workqueue for host interface
Deconstruct the kthread / message_queue logic, replacing it with create_singlethread_workqueue() / queue_work() setup, by adding a 'struct work_struct' to 'struct host_if_msg'. The current kthread hostIFthread() is converted to a work queue helper with the name 'host_if_work'. Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/TODO')
-rw-r--r--drivers/staging/wilc1000/TODO5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/TODO b/drivers/staging/wilc1000/TODO
index 95199d8..ec93b2e 100644
--- a/drivers/staging/wilc1000/TODO
+++ b/drivers/staging/wilc1000/TODO
@@ -4,6 +4,11 @@ TODO:
- remove custom debug and tracing functions
- rework comments and function headers(also coding style)
- replace all semaphores with mutexes or completions
+- Move handling for each individual members of 'union message_body' out
+ into a separate 'struct work_struct' and completely remove the multiplexer
+ that is currently part of host_if_work(), allowing movement of the
+ implementation of each message handler into the callsite of the function
+ that currently queues the 'host_if_msg'.
- make spi and sdio components coexist in one build
- turn compile-time platform configuration (BEAGLE_BOARD,
PANDA_BOARD, PLAT_WMS8304, PLAT_RKXXXX, CUSTOMER_PLATFORM, ...)
OpenPOWER on IntegriCloud