summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorJeff LaBundy <jeff@labundy.com>2022-09-08 14:22:46 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-12-31 13:26:50 +0100
commit8cfab89ec27389ef7db9e9f86028f636a07ed091 (patch)
tree8000da392685ce3d83ccf476081bf918cbf5c2f1 /drivers/input
parent782022651ec96b6a7fe63f4509414b1ed367007d (diff)
downloadlinux-8cfab89ec27389ef7db9e9f86028f636a07ed091.tar.gz
linux-8cfab89ec27389ef7db9e9f86028f636a07ed091.tar.bz2
linux-8cfab89ec27389ef7db9e9f86028f636a07ed091.zip
Input: iqs7222 - trim force communication command
[ Upstream commit 10e629d31aacb2348a1e9110c31a29e98b31ce38 ] 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 <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>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/misc/iqs7222.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/iqs7222.c b/drivers/input/misc/iqs7222.c
index 0b2bf471b3a0..6af25dfd1d2a 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;
/*