Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753580AbbGWPBg (ORCPT ); Thu, 23 Jul 2015 11:01:36 -0400 Received: from down.free-electrons.com ([37.187.137.238]:60695 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753436AbbGWPBW (ORCPT ); Thu, 23 Jul 2015 11:01:22 -0400 Date: Thu, 23 Jul 2015 17:01:19 +0200 From: Alexandre Belloni To: Octavian Purdila Cc: Linus Walleij , Mika Westerberg , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald , Alessandro Zummo , Srinivas Pandruvada , linux-iio@vger.kernel.org, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/2] rtc: fix drivers that consider 0 as a valid IRQ in client->irq Message-ID: <20150723150119.GA14893@piout.net> References: <1433512783-8183-1-git-send-email-octavian.purdila@intel.com> <1433512783-8183-3-git-send-email-octavian.purdila@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1433512783-8183-3-git-send-email-octavian.purdila@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1157 Lines: 28 On 05/06/2015 at 16:59:43 +0300, Octavian Purdila wrote : > Since patch "i2c / ACPI: Use 0 to indicate that device does not have > interrupt assigned" [1], 0 is not a valid i2c client irq anymore, so > change all driver's checks accordingly. > > The same issue occurs when the device is instantiated via device tree > with no IRQ, or from the i2c sysfs interface, even before the patch > above. > > [1] http://lkml.kernel.org/g/<1430908148-201129-3-git-send-email-mika.westerberg@linux.intel.com> > > Signed-off-by: Octavian Purdila > Reviewed-by: Mika Westerberg > Acked-by: Alexandre Belloni Applied, thanks. I included the final commit id instead of the link to the mailing list redirector. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/