]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: fix em28xx-rc load
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 01:52:34 +0000 (22:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 22:36:27 +0000 (19:36 -0300)
commiteb7bc51120601a8d59614040382374a49bda7808
tree3fdd06611994007eb5546be6dccccaeec0016f87
parentf87428093ff6b664600b5af60d79b30c468e34f0
[media] em28xx: fix em28xx-rc load

The logic that checks if a device has remote control is wrong.
Due to that, the em28xx RC module is not loaded by default.

Fix the logic, in order to make it work properly.

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