From patchwork Wed Feb 17 07:38:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 79837 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1H7cJCX002669 for ; Wed, 17 Feb 2010 07:38:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934097Ab0BQHi1 (ORCPT ); Wed, 17 Feb 2010 02:38:27 -0500 Received: from mail-yx0-f200.google.com ([209.85.210.200]:44338 "EHLO mail-yx0-f200.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934064Ab0BQHi0 (ORCPT ); Wed, 17 Feb 2010 02:38:26 -0500 Received: by mail-yx0-f200.google.com with SMTP id 38so5036438yxe.4 for ; Tue, 16 Feb 2010 23:38:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :in-reply-to:references:subject; bh=aVPZaRyDR97QGNlMtZwcX0g7FARPPqiGaozIpdurcnk=; b=l83+KACTMp4NQlHrtX6Sjo/8O8O5PQOepMZiHGf3QnHeWH2yfTDS1iH3UWUZ8m+qAP 3ZOWD5b+U0+fijWUclb/VgjENiQKb4CiLK9mE3uTnfbO7bD9bOnqZgujoKrEZQ+NZnZS /6VxUZZr8z+fj2qPkNaRC924y88OtVmbk8HWM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=TM/cyMuuPDe1hcIP65FU++uxuVR3IoTtYnPsKA6Y3UvNJgHlOVQYFMFpF0gBMGXzow PNc8LGmAyxtF5tDhXLXcaeTIpKnq1DOhXjbP+uxAPITYG2f+5oC94v/IpjFF4GJI+sNm dKexJ8Ujh2pek/YxkD/7GCX7ZCRWjkxYQmhTg= Received: by 10.101.106.19 with SMTP id i19mr1506065anm.127.1266392305717; Tue, 16 Feb 2010 23:38:25 -0800 (PST) Received: from ?127.0.0.1? (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id 16sm683253gxk.5.2010.02.16.23.38.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Feb 2010 23:38:24 -0800 (PST) From: Magnus Damm To: linux-mmc@vger.kernel.org Cc: sameo@linux.intel.com, linux-sh@vger.kernel.org, linus.ml.walleij@gmail.com, Magnus Damm , goda.yusuke@renesas.com, ian@mnementh.co.uk, lethal@linux-sh.org, akpm@linux-foundation.org, g.liakhovetski@gmx.de Date: Wed, 17 Feb 2010 16:38:04 +0900 Message-Id: <20100217073804.32726.27721.sendpatchset@t400s> In-Reply-To: <20100217073735.32726.12020.sendpatchset@t400s> References: <20100217073735.32726.12020.sendpatchset@t400s> Subject: [PATCH 03/05] tmio_mmc: Use 100ms mmc_detect_change() delay Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 17 Feb 2010 07:38:27 +0000 (UTC) --- 0001/drivers/mmc/host/tmio_mmc.c +++ work/drivers/mmc/host/tmio_mmc.c 2010-02-15 20:28:15.000000000 +0900 @@ -323,7 +323,7 @@ static irqreturn_t tmio_mmc_irq(int irq, if (ireg & (TMIO_STAT_CARD_INSERT | TMIO_STAT_CARD_REMOVE)) { ack_mmc_irqs(host, TMIO_STAT_CARD_INSERT | TMIO_STAT_CARD_REMOVE); - mmc_detect_change(host->mmc, 0); + mmc_detect_change(host->mmc, msecs_to_jiffies(100)); } /* CRC and other errors */