[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YFeoRagM0pub+Whd@google.com>
Date: Sun, 21 Mar 2021 13:10:45 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Alistair Francis <alistair@...stair23.me>
Cc: linux-input@...r.kernel.org, linux-imx@....com,
kernel@...gutronix.de, linux-kernel@...r.kernel.org,
alistair23@...il.com
Subject: Re: [PATCH v3 6/9] Input: wacom_i2c - Clean up the query device
fields
On Sun, Mar 21, 2021 at 10:10:46AM -0400, Alistair Francis wrote:
> Improve the query device fields to be more verbose.
>
> Signed-off-by: Alistair Francis <alistair@...stair23.me>
> ---
> drivers/input/touchscreen/wacom_i2c.c | 71 +++++++++++++++++++--------
...
>
> + rstc = devm_reset_control_get_optional_exclusive(&client->dev, NULL);
> + if (IS_ERR(rstc))
> + dev_err(&client->dev, "Failed to get reset control before init\n");
> + else
> + reset_control_reset(rstc);
This seems misplaced. Also, reset controls are typically for resetting
the system, for resetting peripherals we expose reset GPIO lines.
Thanks.
--
Dmitry
Powered by blists - more mailing lists