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 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@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.


[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