[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YC17OycMiNipMUyn@google.com>
Date: Wed, 17 Feb 2021 12:23:23 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Ronald Tschalär <ronald@...ovation.ch>
Cc: "Gustavo A. R. Silva" <gustavoars@...nel.org>,
Sergiu Cuciurean <sergiu.cuciurean@...log.com>,
Lee Jones <lee.jones@...aro.org>, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] Input: applespi: Don't wait for responses to
commands indefinitely.
Hi Ronald,
On Wed, Feb 17, 2021 at 11:07:16AM -0800, Ronald Tschalär wrote:
> @@ -869,7 +878,7 @@ static int applespi_send_cmd_msg(struct applespi_data *applespi)
> return sts;
> }
>
> - applespi->cmd_msg_queued = true;
> + applespi->cmd_msg_queued = ktime_get();
Will it be OK if I change this to ktime_get_coarse()? I do not think we
need exact time here, and the coarse variant is cheaper I believe.
Thanks.
--
Dmitry
Powered by blists - more mailing lists