Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754956Ab3IIQMg (ORCPT ); Mon, 9 Sep 2013 12:12:36 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:41478 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750873Ab3IIQMe (ORCPT ); Mon, 9 Sep 2013 12:12:34 -0400 Date: Mon, 9 Sep 2013 09:12:30 -0700 From: Dmitry Torokhov To: Jonathan Cameron Cc: Zubair Lutfullah , linux-iio@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, bigeasy@linutronix.de, gregkh@linuxfoundation.org Subject: Re: [PATCH 1/2] input: ti_am335x_tsc: Enable shared IRQ for TSC Message-ID: <20130909161230.GA25107@core.coreip.homeip.net> References: <1378034277-26728-1-git-send-email-zubair.lutfullah@gmail.com> <1378034277-26728-2-git-send-email-zubair.lutfullah@gmail.com> <522C5F96.20001@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <522C5F96.20001@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1433 Lines: 37 On Sun, Sep 08, 2013 at 12:29:26PM +0100, Jonathan Cameron wrote: > On 09/01/13 12:17, Zubair Lutfullah wrote: > > Enable shared IRQ to allow ADC to share IRQ line from > > parent MFD core. Only FIFO0 IRQs are for TSC and handled > > on the TSC side. > > > > Step mask would be updated from cached variable only previously. > > In rare cases when both TSC and ADC are used, the cached > > variable gets mixed up. > > The step mask is written with the required mask every time. > > > > Rachna Patil (TI) laid ground work for shared IRQ. > > > > Signed-off-by: Zubair Lutfullah > Whilst I would have prefered an mfd under these drivers and elegant handling > of the interrupts, I guess if this works it is at least not terribly invasive. > > However, this does need an Ack from Dmitry before I can take it (or for > Dmitry to take it himself?) I completely agree with Jonathan, more elegant handling would be nice but current one will do for now. Since most of the work on the driver is going through IIO tree I think it would make sense for this patch to go through it as well. Acked-by: Dmitry Torokhov Thanks. -- Dmitry -- 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/