]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1460e0af5745d538f2393e46fff8134613144998
tree951ee5afbd1200a1bec6dd9e84868f18c2d4309d
parent9a8ffe7e1735113d613531c3f984cb3f136cd904
[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