Re: [PATCH?] psmouse-base.c

From: Andrew Morton
Date: Sun Nov 09 2003 - 23:09:55 EST


arief_mulya <arief_m_utama@xxxxxxxxxxxxxxx> wrote:
>
> static int psmouse_pm_callback(struct pm_dev *dev, pm_request_t request,
> void *data)
> {
> struct psmouse *psmouse = dev->data;
> struct serio_dev *ser_dev = psmouse->serio->dev;
>
>
> switch (request) {
> case PM_RESUME:
> psmouse->state = PSMOUSE_IGNORE;
> serio_rescan(psmouse->serio);
> default:
> return 0;
> }
> }

What does the driver do without this change? ie: what problem is this
fixing?

Why is it calling serio_rescan() rather than serio_reconnect()?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/