From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH 20/51] Input: atmel_mxt_ts - Set default irqflags when there is no pdata Date: Sun, 15 Sep 2013 19:25:33 -0700 Message-ID: <20130916022533.GA6468@core.coreip.homeip.net> References: <1372337366-9286-1-git-send-email-nick.dyer@itdev.co.uk> <1372337366-9286-21-git-send-email-nick.dyer@itdev.co.uk> <20130718171744.GC32381@polaris.bitmath.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pb0-f52.google.com ([209.85.160.52]:34088 "EHLO mail-pb0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753098Ab3IPGdI (ORCPT ); Mon, 16 Sep 2013 02:33:08 -0400 Content-Disposition: inline In-Reply-To: <20130718171744.GC32381@polaris.bitmath.org> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: rydberg@euromail.se Cc: Nick Dyer , Daniel Kurtz , Joonyoung Shim , Alan Bowens , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Meerwald , Benson Leung , Olof Johansson , Yufeng Shen On Thu, Jul 18, 2013 at 07:17:44PM +0200, rydberg@euromail.se wrote: > Hi Nick, > > > From: Yufeng Shen > > > > This is the preparation for supporting the code path when there is > > platform data provided and still boot the device into a sane state > > with backup NVRAM config. > > > > Make the irqflags default to be IRQF_TRIGGER_FALLING if no platform data is > > provided. I think if there is no platform data we should use 0 as IRQ falgs and assume that IRQ line is properly configured by the board code or via device tree. Thanks. -- Dmitry