Re: [PATCH] lib/crc-ccitt: add CCITT-FALSE CRC16 variant

From: Chris Healy
Date: Thu Apr 13 2017 - 16:09:44 EST


On Thu, Apr 13, 2017 at 7:29 AM, Andrey Smirnov
<andrew.smirnov@xxxxxxxxx> wrote:
> From: Andrey Vostrikov <andrey.vostrikov@xxxxxxxxxxxxxxxxxx>
>
> Cc: cphealy@xxxxxxxxx
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Andrey Vostrikov <andrey.vostrikov@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> ---
> include/linux/crc-ccitt.h | 7 ++++++
> lib/crc-ccitt.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++-
> 2 files changed, 64 insertions(+), 1 deletion(-)
>

In support of a soon to be published MFD driver using serdev to talk
to a supervisory processor that uses the CCITT-FALSE CRC16 variant in
it's protocol, this patch was tested successfully on an i.MX6 ARM
platform.

Tested-by: Chris Healy <cphealy@xxxxxxxxx>