[RAMEN9610-19678][COMMON] mmc: dw_mmc: Change regulator_disable from tasklet to workq...
authorJaeHun Jung <jh0801.jung@samsung.com>
Thu, 30 May 2019 08:21:19 +0000 (17:21 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:35 +0000 (20:23 +0300)
commitf9c7245ae1496882f506df99f08341250470f93b
tree09b5806dcce479ed79712d3049b9c64de4cfc862
parent1b55c4db12861b9e8ede5f6174699b2f4ea8fad3
[RAMEN9610-19678][COMMON] mmc: dw_mmc: Change regulator_disable from tasklet to workqueue.

Regulator disable function has mutex_lock. And, mutex_lock has might_sleep().
It can not use in ISR & BH(bottom Half).
So, Using WQ with WQ_UNBOUND, WQ_HIGHPRI for execution.

Change-Id: I4f7a3d1b8d5a27000fb61ee9feb321749c956f59
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/dw_mmc.h