Skip to content

Commit 36b30d6

Browse files
marvintwentyfourgregkh
authored andcommitted
staging: nvec: ps2: change serio type to passthrough
This changes the serio type of the nvec_ps2 mouse port to passthrough. The old 8042 type seems appropiete for keyboards only. Signed-off-by: Marc Dietrich <[email protected]> Signed-off-by: Julian Andres Klode <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent a573298 commit 36b30d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/nvec/nvec_ps2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ static int __devinit nvec_mouse_probe(struct platform_device *pdev)
9898
struct nvec_chip *nvec = dev_get_drvdata(pdev->dev.parent);
9999
struct serio *ser_dev = kzalloc(sizeof(struct serio), GFP_KERNEL);
100100

101-
ser_dev->id.type = SERIO_8042;
101+
ser_dev->id.type = SERIO_PS_PSTHRU;
102102
ser_dev->write = ps2_sendcommand;
103103
ser_dev->start = ps2_startstreaming;
104104
ser_dev->stop = ps2_stopstreaming;

0 commit comments

Comments
 (0)