From: Jeff LaBundy Date: Thu, 8 Sep 2022 21:22:46 +0000 (-0700) Subject: Input: iqs7222 - trim force communication command X-Git-Tag: v6.1~32^2~9^2~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10e629d31aacb2348a1e9110c31a29e98b31ce38;p=platform%2Fkernel%2Flinux-starfive.git Input: iqs7222 - trim force communication command According to the datasheets, writing only 0xFF is sufficient to elicit a communication window. Remove the superfluous 0x00 from the force communication command. Fixes: e505edaedcb9 ("Input: add support for Azoteq IQS7222A/B/C") Signed-off-by: Jeff LaBundy Link: https://lore.kernel.org/r/20220908131548.48120-6-jeff@labundy.com Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/misc/iqs7222.c b/drivers/input/misc/iqs7222.c index b2e8097..376ba3e 100644 --- a/drivers/input/misc/iqs7222.c +++ b/drivers/input/misc/iqs7222.c @@ -1077,7 +1077,7 @@ static int iqs7222_hard_reset(struct iqs7222_private *iqs7222) static int iqs7222_force_comms(struct iqs7222_private *iqs7222) { - u8 msg_buf[] = { 0xFF, 0x00, }; + u8 msg_buf[] = { 0xFF, }; int ret; /*