Re: [PATCH] Input: ads7846 - fix unaligned access on 7845
From: Dmitry Torokhov
Date: Tue Nov 17 2020 - 19:32:47 EST
On Thu, Nov 12, 2020 at 09:04:23AM +0100, Oleksij Rempel wrote:
> Hello Dmitry,
>
> Am 12.11.20 um 02:27 schrieb Dmitry Torokhov:
> > req->sample[1] is not naturally aligned at word boundary, and therefore
> > we should use get_unaligned_be16() when accessing it.
> >
> > Fixes: 3eac5c7e44f3 ("Input: ads7846 - extend the driver for ads7845 controller support")
> > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
>
> I do not have ads7845, but i assume i need to resend my patch with the same fix. Correct?
I do not think your patches are affected, so I just applied it together
with yours.
Thanks.
--
Dmitry