Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754723Ab3HETVX (ORCPT ); Mon, 5 Aug 2013 15:21:23 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:58440 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754613Ab3HETVV (ORCPT ); Mon, 5 Aug 2013 15:21:21 -0400 Date: Mon, 5 Aug 2013 20:21:14 +0100 From: "Zubair Lutfullah :" To: Dmitry Torokhov Cc: "Zubair Lutfullah :" , Jonathan Cameron , jic23@cam.ac.uk, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, gregkh@linuxfoundation.org, Russ.Dill@ti.com Subject: Re: [PATCH 1/2] input: ti_tsc: Enable shared IRQ for TSC Message-ID: <20130805192113.GA7041@gmail.com> References: <1374882674-18403-1-git-send-email-zubair.lutfullah@gmail.com> <1374882674-18403-2-git-send-email-zubair.lutfullah@gmail.com> <51FE361B.5030900@kernel.org> <20130805161256.GA8794@core.coreip.homeip.net> <20130805170201.GA4310@gmail.com> <20130805174031.GA20093@core.coreip.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130805174031.GA20093@core.coreip.homeip.net> 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: 1335 Lines: 38 On Mon, Aug 05, 2013 at 10:40:31AM -0700, Dmitry Torokhov wrote: > > > > FIFO 1 used only by ADC and FIFO1THRES handler is inside the iio/adc driver > > FIFO 0 used only by TSC and FIFO0THRES handler is inside the input/touchscreen > > > > Note: These are level interrupts. > > > > I would like some input on how to handle such a situation. > > It looks like you need to have smart demultiplexing in MFD core of your > driver instead of relying on shared interrupt handler. > > Another option would be to check "your" bits, handle the data, clear the > status and then check bits again and return IRQ_NONE instead of > IRQ_HANDLED if other guys bits are set, but it is way too ugly. > > Thanks. > > -- > Dmitry That is going to make a lot of changes in mfd, input and iio And should require a separate patch series. Is it possible to accept the current patches to add continuous mode to the ADC side as is before the next merge window? This issue doesn't disturb each side individually.. I'll look into fixing the IRQs after settling continuous mode. Thanks Zubair Lutfullah -- 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/