Re: [PATCH 5/7] Input: cy8ctmg110_ts - use endian helpers when converting data on wire

From: Linus Walleij
Date: Fri Jun 04 2021 - 03:35:36 EST


On Thu, Jun 3, 2021 at 6:37 AM Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:

> Switch to using be16_to_cpup() instead of shifting and combining data by
> hand.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij