]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: mma8450 - add chip ID check in probe
authorLuwei Zhou <b45643@freescale.com>
Mon, 16 Dec 2024 18:28:51 +0000 (10:28 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 17 Dec 2024 19:11:46 +0000 (11:11 -0800)
commit1863f213d3e878d10589ebc0aae1c861c3b0f0c3
tree5c8aad91541488b38dd4010407a912c736012aa5
parent55b75306c3edf369285ce22ba1ced45e335094c2
Input: mma8450 - add chip ID check in probe

Prevent continuous polling error logs by adding a chip ID check in the
probe  function. This ensures the driver only proceeds when the mma8450 is
present, avoiding issues in scenarios like missing add-on cards.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20241216173205.211058-1-Frank.Li@nxp.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/mma8450.c