[media] em28xx: Fix: I2C_CLK write error message checks wrong return code
authorSascha Sommer <saschasommer@freenet.de>
Sun, 8 Jan 2012 19:19:30 +0000 (16:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Jan 2012 00:47:27 +0000 (22:47 -0200)
commit0903bb540e5bb99a9e58d583a596a30620f65702
tree951ee5afbd1200a1bec6dd9e84868f18c2d4309d
parent622c2fc1f2613bef953d2af908e7b83f4de4b994
[media] em28xx: Fix: I2C_CLK write error message checks wrong return code

It looks like the return value check that is done after setting the I2C
speed checks the wrong return code.

Signed-off-by: Sascha Sommer <saschasommer@freenet.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c