From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [RFC/RFT][PATCH] Input: tsc2007 - convert to threaded IRQ Date: Thu, 25 Aug 2011 09:52:54 +0200 Message-ID: <20110825075253.GA10702@avionic-0098.adnet.avionic-design.de> References: <20110823061738.GA25272@core.coreip.homeip.net> <20110825062159.GB25708@avionic-0098.mockup.avionic-design.de> <20110825064333.GA15655@core.coreip.homeip.net> <20110825070657.GA29512@avionic-0098.adnet.avionic-design.de> <20110825073427.GB24739@core.coreip.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Return-path: Received: from moutng.kundenserver.de ([212.227.17.10]:62817 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750898Ab1HYHw6 (ORCPT ); Thu, 25 Aug 2011 03:52:58 -0400 Content-Disposition: inline In-Reply-To: <20110825073427.GB24739@core.coreip.homeip.net> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Dmitry Torokhov Cc: Linux Input , Richard =?utf-8?Q?R=C3=B6jfors?= --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry Torokhov wrote: > On Thu, Aug 25, 2011 at 09:06:57AM +0200, Thierry Reding wrote: > > * Dmitry Torokhov wrote: > > > On Thu, Aug 25, 2011 at 08:21:59AM +0200, Thierry Reding wrote: > > > > * Dmitry Torokhov wrote: > > > > > This is completely untested but I believe it should work better t= han original > > > > > workqueue solution, especially when we do not have get_pendown_st= ate method > > > > > available. I wonder if it will help Richard's issue with IRQ gett= ing re-raised > > > > > after pen up event. > > > > >=20 > > > > > Anyone who has hardware - please give it a spin. > > > >=20 > > > > I can see no noticeable changes with this patch. > > > >=20 > > >=20 > > > That's the result I was aiming for ;) Thanks for testing. > > >=20 > > > Oh, crap... Does it still work if you change IRQ flags in > > > request_threaded_irq() from 0 to IRQF_ONESHOT?=20 > > >=20 > > > Also, while we are at it would you ming trying out another patch > > > (below)? > >=20 > > With both your patch applied and the change from 0 to IRQF_ONESHOT the = driver > > oopses when loaded. I didn't have time to investigate further, but I th= ink I > > could perhaps test a couple more patches if you provide them. >=20 > Hmm, can't spot the problem... Where does it die? I'll see if I can track it down, but I have very limited time. > If you could try just IRFQ_ONESHOT change that would be helpful. With only just this change, things work okay. Thierry --zhXaljGHf11kAtnf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk5V/1UACgkQZ+BJyKLjJp+kUgCfbYpI+mO8nknltr6neUw/SmIT bEMAoKgNAgyZiPbcOsEuosGs6NvSmP3o =+dkx -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--