From: Mauro Carvalho Chehab Date: Sat, 4 Jan 2014 08:42:11 +0000 (-0300) Subject: [media] em28xx: convert i2c wait completion logic to use jiffies X-Git-Tag: v3.14-rc1~20^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b83626ac29a66fce15256771dd550e8c4ea2c66;p=pandora-kernel.git [media] em28xx: convert i2c wait completion logic to use jiffies The I2C wait completion/timeout logic currently assumes that msleep(5) will wait exaclty 5 ms. This is not true at all, as it depends on CONFIG_HZ. Convert it to use jiffies, in order to not wait for more time than needed. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed