From patchwork Wed Apr 1 23:12:47 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 15779 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n31NELG0003250 for ; Wed, 1 Apr 2009 23:14:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935010AbZDAXMx (ORCPT ); Wed, 1 Apr 2009 19:12:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S935008AbZDAXMx (ORCPT ); Wed, 1 Apr 2009 19:12:53 -0400 Received: from wf-out-1314.google.com ([209.85.200.169]:57393 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935002AbZDAXMv (ORCPT ); Wed, 1 Apr 2009 19:12:51 -0400 Received: by wf-out-1314.google.com with SMTP id 29so291831wff.4 for ; Wed, 01 Apr 2009 16:12:50 -0700 (PDT) Received: by 10.143.44.17 with SMTP id w17mr3278797wfj.255.1238627570083; Wed, 01 Apr 2009 16:12:50 -0700 (PDT) Received: from localhost ([216.254.16.51]) by mx.google.com with ESMTPS id 29sm722327wfg.13.2009.04.01.16.12.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Apr 2009 16:12:49 -0700 (PDT) From: Kevin Hilman To: linux-omap@vger.kernel.org Cc: Kevin Hilman Subject: [PATCH] MMC: OMAP: flush posted write to IRQ Date: Wed, 1 Apr 2009 16:12:47 -0700 Message-Id: <1238627567-19753-1-git-send-email-khilman@deeprootsystems.com> X-Mailer: git-send-email 1.6.1.3 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Spurious IRQs seen on MMC after 2.6.29. Flush posted write in IRQ handler. Signed-off-by: Kevin Hilman --- drivers/mmc/host/omap_hsmmc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 3916a56..4270676 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -464,6 +464,7 @@ static irqreturn_t mmc_omap_irq(int irq, void *dev_id) } OMAP_HSMMC_WRITE(host->base, STAT, status); + OMAP_HSMMC_READ(host->base, STAT); /* flush posted write */ if (end_cmd || (status & CC)) mmc_omap_cmd_done(host, host->cmd);