]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (9780): dib0700: Stop repeating after user stops pushing button
authorDevin Heitmueller <devin.heitmueller@gmail.com>
Mon, 1 Dec 2008 09:51:14 +0000 (06:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Dec 2008 18:43:58 +0000 (16:43 -0200)
commit4b330bee66e88c94789d2eea250dd1fd454a645e
tree9dfd18a4e97844f6273c71fd679cea65da730a3e
parentcefb3d02cad6fae49369cdde24526c4c4806b20f
V4L/DVB (9780): dib0700: Stop repeating after user stops pushing button

A user noticed that there would continue to be 4-6 keypresses even after the
user stopped holding down the button.  This was because we were not reading
the bulk pipe faster than the firmware was injecting information, which would
result in a backlog.

Make the query interval faster, and increase the number of cycles before we
start repeating to compensate.

Thanks to Knud Poulsen <knud.poulsen@nokia.com> for pointing this out.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dib0700_devices.c