From patchwork Wed Sep 15 22:15:15 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: 183802 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 o8FMICdl013270 for ; Wed, 15 Sep 2010 22:18:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754667Ab0IOWSP (ORCPT ); Wed, 15 Sep 2010 18:18:15 -0400 Received: from kroah.org ([198.145.64.141]:58644 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754673Ab0IOWSO (ORCPT ); Wed, 15 Sep 2010 18:18:14 -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 9400D4896A; Wed, 15 Sep 2010 15:18:14 -0700 (PDT) Subject: Patch "tmio_mmc: don't clear unhandled pending interrupts" has been added to the 2.6.35-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:15:15 -0700 Message-ID: <12845889153845@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:16 +0000 (UTC) --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -82,10 +82,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)