lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200609071540.43474.dtor@insightbb.com>
Date:	Thu, 7 Sep 2006 15:40:42 -0400
From:	Dmitry Torokhov <dtor@...ightbb.com>
To:	Daniel Ritz <daniel.ritz-ml@...ssonline.ch>
Cc:	Greg KH <gregkh@...e.de>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	linux-usb <linux-usb-devel@...ts.sourceforge.net>,
	Kai Lindholm <megantti@...il.com>
Subject: Re: PATCH] usbtouchscreen: fix ITM data reading

On Thursday 07 September 2006 15:25, Daniel Ritz wrote:
> before 2.6.19, please :)
> 
> [PATCH] usbtouchscreen: fix ITM data reading
> 
> From: Kai Lindhom <megantti@...il.com>
> Signed-off-by: Daniel Ritz <daniel.ritz@....ch>
>

Acked-by: Dmitry Torokhov <dtor@...l.ru>

Greg, will you push it through your tree?
 
> diff --git a/drivers/usb/input/usbtouchscreen.c b/drivers/usb/input/usbtouchscreen.c
> index 3b175aa..a338bf4 100644
> --- a/drivers/usb/input/usbtouchscreen.c
> +++ b/drivers/usb/input/usbtouchscreen.c
> @@ -286,7 +286,7 @@ #ifdef CONFIG_USB_TOUCHSCREEN_ITM
>  static int itm_read_data(unsigned char *pkt, int *x, int *y, int *touch, int *press)
>  {
>  	*x = ((pkt[0] & 0x1F) << 7) | (pkt[3] & 0x7F);
> -	*x = ((pkt[1] & 0x1F) << 7) | (pkt[4] & 0x7F);
> +	*y = ((pkt[1] & 0x1F) << 7) | (pkt[4] & 0x7F);
>  	*press = ((pkt[2] & 0x1F) << 7) | (pkt[5] & 0x7F);
>  	*touch = ~pkt[7] & 0x20;
>  
> 

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ