Micky Ching 98fcc5762d mmc: rtsx: Revert "mmc: rtsx: add support for pre_req and post_req"
This reverts commit c42deffd5b53c9e583d83c7964854ede2f12410d.

commit <mmc: rtsx: add support for pre_req and post_req> did use
mutex_unlock() in tasklet, but mutex_unlock() can't be used in
tasklet(atomic context). The driver needs to use mutex to avoid
concurrency, so we can't use tasklet here, the patch need to be
removed.

The spinlock host->lock and pcr->lock may deadlock, one way to solve
the deadlock is remove host->lock in sd_isr_done_transfer(), but if
using workqueue the we can avoid using the spinlock and also avoid
the problem.

Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-05-08 08:44:50 +01:00
..
2012-11-28 12:28:18 -08:00
2014-04-09 08:39:39 -07:00
2014-03-03 14:00:56 -05:00
2014-04-09 08:39:39 -07:00
2013-11-18 14:47:30 -08:00
2009-03-24 21:30:03 +01:00
2013-08-24 23:45:22 -04:00
2014-02-22 13:17:42 -05:00
2009-10-01 16:11:15 -07:00
2013-11-08 14:32:03 -05:00
2007-07-26 01:53:31 +02:00