Ignore:
Timestamp:
Apr 16, 2017, 3:07:01 PM (2 months ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.18/drivers/staging/nvec/nvec_ps2.c

    r25370 r31869  
    107107        struct nvec_chip *nvec = dev_get_drvdata(pdev->dev.parent);
    108108        struct serio *ser_dev;
    109         char mouse_reset[] = { NVEC_PS2, SEND_COMMAND, PSMOUSE_RST, 3 };
    110109
    111110        ser_dev = devm_kzalloc(&pdev->dev, sizeof(struct serio), GFP_KERNEL);
     
    113112                return -ENOMEM;
    114113
    115         ser_dev->id.type = SERIO_PS_PSTHRU;
     114        ser_dev->id.type = SERIO_8042;
    116115        ser_dev->write = ps2_sendcommand;
    117116        ser_dev->start = ps2_startstreaming;
     
    127126
    128127        serio_register_port(ser_dev);
    129 
    130         /* mouse reset */
    131         nvec_write_async(nvec, mouse_reset, sizeof(mouse_reset));
    132128
    133129        return 0;
Note: See TracChangeset for help on using the changeset viewer.