On Wednesday 14 January 2015 23:55:53 Dmitry Torokhov wrote: > + /* > + * Reset the device to make sure it is fully operational: > + * on some laptops, like certain Dell Latitudes, we may > + * fail to properly detect presence of trackstick if device > + * has not been reset. > + */ > + psmouse_reset(psmouse); > + > + priv = kzalloc(sizeof(struct alps_data), GFP_KERNEL); > + if (priv) if (!priv) > + return -ENOMEM; > + -- Pali Rohár pali.rohar@gmail.com