[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y8qwceKl6G1jh014@smile.fi.intel.com>
Date: Fri, 20 Jan 2023 17:17:05 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Luca Ellero <l.ellero@...m.it>
Cc: dmitry.torokhov@...il.com, daniel@...que.org,
m.felsch@...gutronix.de, u.kleine-koenig@...gutronix.de,
mkl@...gutronix.de, miquel.raynal@...tlin.com, imre.deak@...ia.com,
luca.ellero@...ckedbrain.com, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] Input: ads7846 - always set last command to PWRDOWN
On Fri, Jan 20, 2023 at 01:45:43PM +0100, Luca Ellero wrote:
> Controllers that report pressure (e.g. ADS7846) use 5 commands and the
> correct sequence is READ_X, READ_Y, READ_Z1, READ_Z2, PWRDOWN.
>
> Controllers that don't report pressure (e.g. ADS7845/ADS7843) use only 3
> commands and the correct sequence should be READ_X, READ_Y, PWRDOWN. But
> the sequence sent was incorrect: READ_X, READ_Y, READ_Z1.
>
> Fix this by setting the third (and last) command to PWRDOWN.
Provide a Fixes: tag?
> Signed-off-by: Luca Ellero <l.ellero@...m.it>
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists