mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-26 12:26:11 +00:00
Input: iqs7222 - trim force communication command
[ Upstream commit10e629d31a
] According to the datasheets, writing only 0xFF is sufficient to elicit a communication window. Remove the superfluous 0x00 from the force communication command. Fixes:e505edaedc
("Input: add support for Azoteq IQS7222A/B/C") Signed-off-by: Jeff LaBundy <jeff@labundy.com> Link: https://lore.kernel.org/r/20220908131548.48120-6-jeff@labundy.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
782022651e
commit
8cfab89ec2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue