]> 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)
commit97728e4085fc3b9c1f2308a8ed08fef3c10fe682
tree951ee5afbd1200a1bec6dd9e84868f18c2d4309d
parent7866896463a28353580f993cfcddf65e32eb75da
[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