From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756286AbbDOP6r (ORCPT ); Wed, 15 Apr 2015 11:58:47 -0400 Received: from bhuna.collabora.co.uk ([93.93.135.160]:36514 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932314AbbDOP6i (ORCPT ); Wed, 15 Apr 2015 11:58:38 -0400 Message-ID: <552E8AA4.3030703@collabora.co.uk> Date: Wed, 15 Apr 2015 17:58:28 +0200 From: Javier Martinez Canillas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: Dmitry Torokhov , linux-input@vger.kernel.org CC: linux-kernel@vger.kernel.org, Nick Dyer , Yufeng Shen , Benson Leung , Daniel Kurtz , Sjoerd Simons , Olof Johansson Subject: Re: [PATCH 2/2] Input: atmel_mxt_ts - allow specifying device-specific configs References: <1428452770-20767-1-git-send-email-dmitry.torokhov@gmail.com> <1428452770-20767-2-git-send-email-dmitry.torokhov@gmail.com> In-Reply-To: <1428452770-20767-2-git-send-email-dmitry.torokhov@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Dmitry, On 04/08/2015 02:26 AM, Dmitry Torokhov wrote: > Atmel controolers are very flexible and to function optimally require > device-specific configuration to be loaded. While the configuration is > stored in NVRAM and is normally persistent, sometimes it gets corrupted > and needs to be reloaded. > > Instead of using the same name, maxtouch.cfg, for all systems and all > devices, let's allow platform data to specify the name of configuration > file that should be loaded. This is especially useful for systems that > use Atmel controllers for both touchscren and touchpad, since their > configurations will surely differ. > > Signed-off-by: Dmitry Torokhov > Reviewed-by: Javier Martinez Canillas Tested-by: Javier Martinez Canillas Best regards, Javier