From patchwork Tue Sep 28 13:22:19 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grazvydas Ignotas X-Patchwork-Id: 214902 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 o8SDMmes009300 for ; Tue, 28 Sep 2010 13:22:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754563Ab0I1NWo (ORCPT ); Tue, 28 Sep 2010 09:22:44 -0400 Received: from mail-ew0-f46.google.com ([209.85.215.46]:49550 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753255Ab0I1NWn (ORCPT ); Tue, 28 Sep 2010 09:22:43 -0400 Received: by ewy23 with SMTP id 23so1745735ewy.19 for ; Tue, 28 Sep 2010 06:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=wIp1O4CMLB3jl3GMzUnlzMFIhNjqaQgqtXCh38CvwAw=; b=IhK0Hgvx9+1bPs3kySNmR1PuZrFvv2K1ZL5vpnfRND4NIcOizSxdCR74QsDBIdStLg C5w7xQFcCwzHLK5qBa9KDfDabEHvUaFrrCnAzYX4qnU32x8fAhTqF2Pg1ftTiWd2owpD 7KHw6IRCmQsAIuSJrc/J/7F634JErSe7yeHb4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=szO0DyPnI3fvn1EMxEIKZ9Q8+to8Ho5CZgjP51xEp/EwHWdk9pq263CRnDbqhqC6jV G2mMYM92FpuIEjZNN7RvPF+cpRTduPxEr5+h9n6I0UJtVs8icoXdKNgzsAJKHS1R/DZr GObgmkX4Xcc6O2/u1++CnGoVJdHOEnkjYPn4o= Received: by 10.213.59.145 with SMTP id l17mr1111031ebh.68.1285680149075; Tue, 28 Sep 2010 06:22:29 -0700 (PDT) Received: from localhost.localdomain (ip-88-119-226-136.static.b4net.lt [88.119.226.136]) by mx.google.com with ESMTPS id u9sm10431169eeh.11.2010.09.28.06.22.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 28 Sep 2010 06:22:27 -0700 (PDT) From: Grazvydas Ignotas To: Samuel Ortiz Cc: linux-omap@vger.kernel.org, David Brownell , Grazvydas Ignotas Subject: [PATCH] mfd: fix TWL4030 COR bit polarity for BCI SIH block Date: Tue, 28 Sep 2010 16:22:19 +0300 Message-Id: <1285680139-19092-1-git-send-email-notasas@gmail.com> X-Mailer: git-send-email 1.6.3.3 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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]); Tue, 28 Sep 2010 13:22:48 +0000 (UTC) diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c index 097f24d..5b5a559 100644 --- a/drivers/mfd/twl4030-irq.c +++ b/drivers/mfd/twl4030-irq.c @@ -144,6 +144,7 @@ static const struct sih sih_modules_twl4030[6] = { .name = "bci", .module = TWL4030_MODULE_INTERRUPTS, .control_offset = TWL4030_INTERRUPTS_BCISIHCTRL, + .set_cor = true, .bits = 12, .bytes_ixr = 2, .edr_offset = TWL4030_INTERRUPTS_BCIEDR1, @@ -408,7 +409,7 @@ static int twl4030_init_sih_modules(unsigned line) * set Clear-On-Read (COR) bit. * * NOTE that sometimes COR polarity is documented as being - * inverted: for MADC and BCI, COR=1 means "clear on write". + * inverted: for MADC, COR=1 means "clear on write". * And for PWR_INT it's not documented... */ if (sih->set_cor) {