From patchwork Wed Sep 15 22:17:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 183812 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8FMICdm013270 for ; Wed, 15 Sep 2010 22:18:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754807Ab0IOWSY (ORCPT ); Wed, 15 Sep 2010 18:18:24 -0400 Received: from kroah.org ([198.145.64.141]:49069 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754693Ab0IOWSX (ORCPT ); Wed, 15 Sep 2010 18:18:23 -0400 Received: from localhost (c-24-16-163-131.hsd1.wa.comcast.net [24.16.163.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by coco.kroah.org (Postfix) with ESMTPSA id 8BE2C4899E; Wed, 15 Sep 2010 15:18:23 -0700 (PDT) Subject: Patch "tmio_mmc: don't clear unhandled pending interrupts" has been added to the 2.6.32-stable tree To: yusuke.goda.sx@renesas.com, akpm@linux-foundation.org, arnd@arndnet.de, damm@opensource.se, gregkh@suse.de, ian@mnementh.co.uk, lethal@linux-sh.org, linux-mmc@vger.kernel.org, matt@console-pimps.org, sameo@linux.intel.com, torvalds@linux-foundation.org Cc: , From: Date: Wed, 15 Sep 2010 15:17:36 -0700 Message-ID: <12845890561197@site> MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 15 Sep 2010 22:18:24 +0000 (UTC) --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -102,10 +102,7 @@ #define ack_mmc_irqs(host, i) \ do { \ - u32 mask;\ - mask = sd_ctrl_read32((host), CTL_STATUS); \ - mask &= ~((i) & TMIO_MASK_IRQ); \ - sd_ctrl_write32((host), CTL_STATUS, mask); \ + sd_ctrl_write32((host), CTL_STATUS, ~(i)); \ } while (0)