From patchwork Mon Feb 15 12:12:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 79383 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 o1FCCo17019489 for ; Mon, 15 Feb 2010 12:12:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754879Ab0BOMMu (ORCPT ); Mon, 15 Feb 2010 07:12:50 -0500 Received: from mail-yx0-f200.google.com ([209.85.210.200]:49124 "EHLO mail-yx0-f200.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754135Ab0BOMMt (ORCPT ); Mon, 15 Feb 2010 07:12:49 -0500 Received: by yxe38 with SMTP id 38so3413599yxe.4 for ; Mon, 15 Feb 2010 04:12:48 -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 :subject; bh=LhtNPqdGW2zHP2/bq5ohA9sYOA6EYv4QL5IVLpwX5wk=; b=XW5D+9CHC0/e2TgVW4/70+GMu41iecUe7BSHOSIZXIjHPTA4PX5d0xvxzFpdkgiNJU iHLg6DzmXyQrnzGlw39VgviRbKU1YgS8DKrQLaeIqv8RmjcpoA5YsZbqHdiUKchN7m0S n9ztr05h8WaMzpBSPthXnSVg9bvexbGsrPaJk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=ZbtgroVCyI5jGnVoax6VtHqTJuH7jo3k3IB9EKeiVxBTuh5FV4IZ2spgM25FvvGXWa QEVCIQF9XMzeOkuJYDmND7DK3Xw3QVuV3xjvQtFdQuDmRlG3KrEu6Ptf3JkBdiAKcKfi fpV3JKvEznlQLx6znKToPOm7AxjCQjldXAK5E= Received: by 10.150.120.30 with SMTP id s30mr2598962ybc.284.1266235968704; Mon, 15 Feb 2010 04:12:48 -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 15sm4397214gxk.4.2010.02.15.04.12.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Feb 2010 04:12:48 -0800 (PST) From: Magnus Damm To: linux-mmc@vger.kernel.org Cc: Magnus Damm , akpm@linux-foundation.org, linux-sh@vger.kernel.org Date: Mon, 15 Feb 2010 21:12:29 +0900 Message-Id: <20100215121229.23116.16376.sendpatchset@t400s> Subject: [PATCH] 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]); Mon, 15 Feb 2010 12:12:50 +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 */