From: Jarod Wilson Date: Wed, 19 Jan 2011 21:49:19 +0000 (-0300) Subject: [media] lirc_zilog: z8 on usb doesn't like back-to-back i2c_master_send X-Git-Tag: v2.6.38-rc4~27^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5766d204ae6c1f54beaef37a18c3c9b5e32c3b16;p=pandora-kernel.git [media] lirc_zilog: z8 on usb doesn't like back-to-back i2c_master_send Both the HD-PVR and HVR-1950, driven by the hdpvr and pvrusb2 drivers respectively, have a zilog z8 chip exposed via i2c. These are both usb-connected devices, and on both of them, back-to-back i2c_master_send calls that work fine with a z8 on a pci card fail with a -EIO, as the chip isn't yet ready from the prior command. To cope with that, add a delay and retry loop where necessary. Acked-by: Andy Walls Signed-off-by: Jarod Wilson Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed