From: Micky Ching Date: Tue, 29 Apr 2014 01:54:54 +0000 (+0800) Subject: mmc: rtsx: Revert "mmc: rtsx: add support for pre_req and post_req" X-Git-Tag: omap-for-v3.16/fixes-against-rc1~203^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98fcc5762dcecbb264fa4af5a9ae51136858e299;p=pandora-kernel.git mmc: rtsx: Revert "mmc: rtsx: add support for pre_req and post_req" This reverts commit c42deffd5b53c9e583d83c7964854ede2f12410d. commit 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 Acked-by: Ulf Hansson Signed-off-by: Lee Jones --- Reading git-diff-tree failed