Re: [PATCH 5/6] Input: ALPS - fix trackstick detection on some Dell Latitudes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 15, 2015 at 09:21:34PM +0100, Pali Rohár wrote:
> 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)

Yep, thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux