From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dyer Subject: Re: [PATCH 22/51] Input: atmel_mxt_ts - Add shutdown function Date: Mon, 08 Jul 2013 10:56:06 +0100 Message-ID: <51DA8CB6.2010109@itdev.co.uk> References: <1372337366-9286-1-git-send-email-nick.dyer@itdev.co.uk> <1372337366-9286-23-git-send-email-nick.dyer@itdev.co.uk> <20130707052934.GB15453@core.coreip.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from kdh-gw.itdev.co.uk ([89.21.227.133]:52372 "EHLO hermes.kdh.itdev.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751134Ab3GHJ4I (ORCPT ); Mon, 8 Jul 2013 05:56:08 -0400 In-Reply-To: <20130707052934.GB15453@core.coreip.homeip.net> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Dmitry Torokhov Cc: Daniel Kurtz , Henrik Rydberg , Joonyoung Shim , Alan Bowens , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Meerwald , Benson Leung , Olof Johansson Dmitry Torokhov wrote: > On Thu, Jun 27, 2013 at 01:48:57PM +0100, Nick Dyer wrote: >> Signed-off-by: Nick Dyer >> Acked-by: Benson Leung > > Why is this needed? The patch disables the interrupt handler on shutdown. One of our customers reported a bug caused by input events being generated during shutdown (for example if the user was touching the device whilst it was turning off), which was solved by putting in this change. However, now you've drawn my attention to it again, it seems to me that probably a better thing for us to be doing would be to power off the touchscreen controller here, and let the interrupt disable be handled by core code - do you agree?