Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S3001470AbdDZOua (ORCPT ); Wed, 26 Apr 2017 10:50:30 -0400 Received: from mga04.intel.com ([192.55.52.120]:14259 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1041178AbdDZOuX (ORCPT ); Wed, 26 Apr 2017 10:50:23 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,254,1488873600"; d="scan'208";a="79165457" Date: Wed, 26 Apr 2017 17:50:12 +0300 From: Mika Westerberg To: Linus Walleij Cc: Kuppuswamy Sathyanarayanan , Bin Gao , Andy Shevchenko , Alexandre Courbot , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , sathyaosid@gmail.com Subject: Re: [PATCH v2 1/1] gpio: gpio-wcove: fix GPIO IRQ status mask Message-ID: <20170426145012.GC7152@lahna.fi.intel.com> References: <3257d22879148692da6887f89843389bd37ee877.1493060870.git.sathyanarayanan.kuppuswamy@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 799 Lines: 20 On Wed, Apr 26, 2017 at 04:26:17PM +0200, Linus Walleij wrote: > On Mon, Apr 24, 2017 at 9:15 PM, > wrote: > > > From: Kuppuswamy Sathyanarayanan > > > > According to Whiskey Cove PMIC spec, bit 7 of GPIOIRQ0_REG belongs to > > battery IO. So we should skip this bit when checking for GPIO IRQ pending > > status. Otherwise, wcove_gpio_irq_handler() might go into the infinite > > loop until IRQ "pending" status becomes 0. This patch fixes this issue. > > > > Signed-off-by: Kuppuswamy Sathyanarayanan > > Looks fine to me, tentatively applied. > > Bin, Mika, Andy, OK? Looks fine to me as well :) Acked-by: Mika Westerberg