Skip to content
Commit 921c87ba authored by Allen Pais's avatar Allen Pais Committed by Ulf Hansson
Browse files

mmc: Convert from tasklet to BH workqueue



The only generic interface to execute asynchronously in the BH context is
tasklet; however, it's marked deprecated and has some design flaws. To
replace tasklets, BH workqueue support was recently added. A BH workqueue
behaves similarly to regular workqueues except that the queued work items
are executed in the BH context.

This patch converts drivers/mmc/* from tasklet to BH workqueue.

Based on the work done by Tejun Heo <tj@kernel.org>

Tested-by: Christian Loehle's avatarChristian Loehle <christian.loehle@arm.com>
Tested-by: default avatarAubin Constans <aubin.constans@microchip.com>
Acked-by: default avatarAubin Constans <aubin.constans@microchip.com>
Acked-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Christian Loehle's avatarChristian Loehle <christian.loehle@arm.com>
Signed-off-by: default avatarAllen Pais <allen.lkml@gmail.com>
Link: https://lore.kernel.org/r/20240701100736.4001658-1-allen.lkml@gmail.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 85683fb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment