From 1804926eec28ef558225577d086fad7a91cbc38a Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Tue, 31 Mar 2009 04:02:04 -0300 Subject: AR6000: revert MMC busy status check e2c0650efa751a6a2220618695fa41a2a5e7d23c introduced a platform-specific hack to check if the MMC driver and hardware handle busy signaling from the device properly. Since this seems to be the case, we can revert this hack now. Signed-off-by: Werner Almesberger --- drivers/ar6000/hif/hif2.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'drivers/ar6000') diff --git a/drivers/ar6000/hif/hif2.c b/drivers/ar6000/hif/hif2.c index 8d0755f7b5a..fddd2af8c1a 100644 --- a/drivers/ar6000/hif/hif2.c +++ b/drivers/ar6000/hif/hif2.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include "athdefs.h" @@ -132,9 +131,6 @@ static DEFINE_MUTEX(shutdown_lock); /* ----- Request processing ------------------------------------------------ */ -#include - - static A_STATUS process_request(struct hif_request *req) { int ret; @@ -143,16 +139,8 @@ static A_STATUS process_request(struct hif_request *req) dev_dbg(&req->func->dev, "process_request(req %p)\n", req); sdio_claim_host(req->func); if (req->read) { - while (!s3c2410_gpio_getpin(S3C2410_GPE7)) { - printk(KERN_INFO "READ WHILE BUSY !\n"); - yield(); - } ret = req->read(req->func, req->buf, req->addr, req->len); } else { - while (!s3c2410_gpio_getpin(S3C2410_GPE7)) { - printk(KERN_INFO "WRITE WHILE BUSY !\n"); - yield(); - } ret = req->write(req->func, req->addr, req->buf, req->len); } sdio_release_host(req->func); -- cgit v1.2.3