[media] ir-kbd-i2c: improve remote behavior with z8 behind usb
authorJarod Wilson <jarod@redhat.com>
Thu, 20 Jan 2011 21:31:18 +0000 (18:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 31 Jan 2011 14:19:15 +0000 (12:19 -0200)
commit8df59918b5bc2c3c80e5e0b9386228df7ad54e65
tree71838f82c9997da31d8aea52160f324db0a67c04
parent5766d204ae6c1f54beaef37a18c3c9b5e32c3b16
[media] ir-kbd-i2c: improve remote behavior with z8 behind usb

Add the same "are you ready?" i2c_master_send() poll command to
get_key_haup_xvr found in lirc_zilog, which is apparently seen in
the Windows driver for the PVR-150 w/a z8. This stabilizes what is
received from both the HD-PVR and HVR-1950, even with their polling
intervals at the default of 100, thus the removal of the custom
260ms polling_interval in pvrusb2-i2c-core.c.

Acked-by: Andy Walls <awalls@md.metrocast.net>
Acked-by: Mike Isely <isely@isely.net>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ir-kbd-i2c.c
drivers/media/video/pvrusb2/pvrusb2-i2c-core.c