lkml.org 
[lkml]   [2018]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 05/14] platform/chrome: chromeos_laptop - stop setting suspend mode for Atmel devices
Hi Dmitry,

On Tue, Mar 20, 2018 at 03:31:29PM -0700, Dmitry Torokhov wrote:
> Atmel touch controller driver no longer respects suspend mode specified in
> platform data, so let's stop setting it.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Applied to my working branch for atmel_mxt_ts + chromeos_laptop.c for
v4.17. Thanks!

> ---
> drivers/platform/chrome/chromeos_laptop.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
> index 54a13c70e1d8f..0a43f1833de3f 100644
> --- a/drivers/platform/chrome/chromeos_laptop.c
> +++ b/drivers/platform/chrome/chromeos_laptop.c
> @@ -100,7 +100,6 @@ static struct mxt_platform_data atmel_224s_tp_platform_data = {
> .irqflags = IRQF_TRIGGER_FALLING,
> .t19_num_keys = ARRAY_SIZE(mxt_t19_keys),
> .t19_keymap = mxt_t19_keys,
> - .suspend_mode = MXT_SUSPEND_T9_CTRL,
> };
>
> static struct i2c_board_info atmel_224s_tp_device = {
> @@ -111,7 +110,6 @@ static struct i2c_board_info atmel_224s_tp_device = {
>
> static struct mxt_platform_data atmel_1664s_platform_data = {
> .irqflags = IRQF_TRIGGER_FALLING,
> - .suspend_mode = MXT_SUSPEND_T9_CTRL,
> };
>
> static struct i2c_board_info atmel_1664s_device = {
> --
> 2.16.2.804.g6dcf76e118-goog
>

--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@google.com
Chromium OS Project
bleung@chromium.org
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2018-03-23 00:34    [W:0.103 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site