Skip to content

Commit 60cfc98

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input layer updates from Dmitry Torokhov: - a new ACPI ID for Elan touchpad found in yet another Ideapad model - Synaptics RMI4 will allow binding to controllers reporting SMB version 3 (note that we are not adding any new ACPI IDs to the Synaptics PS/2 drover so unless user explicitly enables intertouch support there is no user-visible change) - a fixup to TSC 2004/5 touchscreen driver to mark input devices as "direct" to help userspace identify the type of device they are dealing with * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: synaptics-rmi4 - RMI4 can also use SMBUS version 3 Input: tsc200x-core - set INPUT_PROP_DIRECT Input: elan_i2c - add ELAN060C to the ACPI table
2 parents 5cf2360 + 26dd633 commit 60cfc98

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

drivers/input/mouse/elan_i2c_core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,6 +1258,7 @@ static const struct acpi_device_id elan_acpi_id[] = {
12581258
{ "ELAN0605", 0 },
12591259
{ "ELAN0609", 0 },
12601260
{ "ELAN060B", 0 },
1261+
{ "ELAN060C", 0 },
12611262
{ "ELAN0611", 0 },
12621263
{ "ELAN1000", 0 },
12631264
{ }

drivers/input/rmi4/rmi_smbus.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ static int rmi_smb_probe(struct i2c_client *client,
312312
rmi_smb->xport.dev = &client->dev;
313313
rmi_smb->xport.pdata = *pdata;
314314
rmi_smb->xport.pdata.irq = client->irq;
315-
rmi_smb->xport.proto_name = "smb2";
315+
rmi_smb->xport.proto_name = "smb";
316316
rmi_smb->xport.ops = &rmi_smb_ops;
317317

318318
smbus_version = rmi_smb_get_version(rmi_smb);
@@ -322,7 +322,7 @@ static int rmi_smb_probe(struct i2c_client *client,
322322
rmi_dbg(RMI_DEBUG_XPORT, &client->dev, "Smbus version is %d",
323323
smbus_version);
324324

325-
if (smbus_version != 2) {
325+
if (smbus_version != 2 && smbus_version != 3) {
326326
dev_err(&client->dev, "Unrecognized SMB version %d\n",
327327
smbus_version);
328328
return -ENODEV;

drivers/input/touchscreen/tsc200x-core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ int tsc200x_probe(struct device *dev, int irq, const struct input_id *tsc_id,
531531

532532
input_set_drvdata(input_dev, ts);
533533

534+
__set_bit(INPUT_PROP_DIRECT, input_dev->propbit);
534535
input_set_capability(input_dev, EV_KEY, BTN_TOUCH);
535536

536537
input_set_abs_params(input_dev, ABS_X,

0 commit comments

Comments
 (0)