Message ID | 20200924053013.1056953-1-vincent.huang@tw.synaptics.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 996d585b079ad494a30cac10e08585bcd5345125 |
Headers | show |
Series | Input: trackpoint - enable Synaptics trackpoints | expand |
On Thu, 24 Sep 2020 at 06:30, Vincent Huang <vincent.huang@tw.synaptics.com> wrote: > > Add Synaptics IDs in trackpoint_start_protocol() to mark them as valid. > > Signed-off-by: Vincent Huang <vincent.huang@tw.synaptics.com> Reviewed-by: Harry Cutts <hcutts@chromium.org> Tested-by: Harry Cutts <hcutts@chromium.org> Harry Cutts Chrome OS Touch/Input team > --- > drivers/input/mouse/trackpoint.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/input/mouse/trackpoint.c b/drivers/input/mouse/trackpoint.c > index 854d5e758724..ef2fa0905208 100644 > --- a/drivers/input/mouse/trackpoint.c > +++ b/drivers/input/mouse/trackpoint.c > @@ -282,6 +282,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) > -- > 2.25.1 >
On Thu, Sep 24, 2020 at 01:30:13PM +0800, Vincent Huang wrote: > Add Synaptics IDs in trackpoint_start_protocol() to mark them as valid. > > Signed-off-by: Vincent Huang <vincent.huang@tw.synaptics.com> Applied, thank you.
diff --git a/drivers/input/mouse/trackpoint.c b/drivers/input/mouse/trackpoint.c index 854d5e758724..ef2fa0905208 100644 --- a/drivers/input/mouse/trackpoint.c +++ b/drivers/input/mouse/trackpoint.c @@ -282,6 +282,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)
Add Synaptics IDs in trackpoint_start_protocol() to mark them as valid. Signed-off-by: Vincent Huang <vincent.huang@tw.synaptics.com> --- drivers/input/mouse/trackpoint.c | 2 ++ 1 file changed, 2 insertions(+)