Re: [PATCH 2/2] Input: atmel_mxt_ts - allow specifying device-specific configs
From: Javier Martinez Canillas <hidden>
Date: 2015-04-15 15:58:47
Also in:
lkml
From: Javier Martinez Canillas <hidden>
Date: 2015-04-15 15:58:47
Also in:
lkml
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 <dmitry.torokhov@gmail.com>
Reviewed-by: Javier Martinez Canillas <redacted> Tested-by: Javier Martinez Canillas <redacted> Best regards, Javier