提交 ba1658fb 编写于 作者: V Vincent Huang 提交者: Yang Yingliang

Input: trackpoint - enable Synaptics trackpoints

[ Upstream commit 996d585b ]

Add Synaptics IDs in trackpoint_start_protocol() to mark them as valid.
Signed-off-by: NVincent Huang <vincent.huang@tw.synaptics.com>
Fixes: 6c77545a ("Input: trackpoint - add new trackpoint variant IDs")
Reviewed-by: NHarry Cutts <hcutts@chromium.org>
Tested-by: NHarry Cutts <hcutts@chromium.org>
Link: https://lore.kernel.org/r/20200924053013.1056953-1-vincent.huang@tw.synaptics.comSigned-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 39563842
......@@ -285,6 +285,8 @@ static int trackpoint_start_protocol(struct psmouse *psmouse,
case TP_VARIANT_ALPS:
case TP_VARIANT_ELAN:
case TP_VARIANT_NXP:
case TP_VARIANT_JYT_SYNAPTICS:
case TP_VARIANT_SYNAPTICS:
if (variant_id)
*variant_id = param[0];
if (firmware_id)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册