From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH] input: synaptics-rmi4 - cleanup rmi_i2c_probe() Date: Wed, 8 Jan 2014 14:46:25 -0800 Message-ID: <20140108224625.GB27279@core.coreip.homeip.net> References: <1389219092-32042-1-git-send-email-cheiny@synaptics.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pd0-f179.google.com ([209.85.192.179]:56652 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751668AbaAHWq3 (ORCPT ); Wed, 8 Jan 2014 17:46:29 -0500 Received: by mail-pd0-f179.google.com with SMTP id r10so2377153pdi.10 for ; Wed, 08 Jan 2014 14:46:29 -0800 (PST) Content-Disposition: inline In-Reply-To: <1389219092-32042-1-git-send-email-cheiny@synaptics.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Christopher Heiny Cc: Linux Input , Andrew Duggan , Vincent Huang , Vivian Ly , Daniel Rosenberg , Jean Delvare , Joerie de Gram , Linus Walleij , Benjamin Tissoires On Wed, Jan 08, 2014 at 02:11:32PM -0800, Christopher Heiny wrote: > Moves i2c_check_functionality to occur before the gpio_config() call. This > can catch some issues that would otherwise result in mysterious problems > in gpio_config(). > > Reduces debugging output; updates remaining output to be more accurate. What kind of gpio config is there? Did not we add proper configuration of attn_gpio to the core? Do you really need these callbacks? They will hurt you when you will try to move to devicetree-based setups. Thanks. -- Dmitry