]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: overhaul em28xx_capture_area_set()
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Sun, 20 Jan 2013 12:26:47 +0000 (09:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 6 Feb 2013 16:20:12 +0000 (14:20 -0200)
commit3a8431b19a9e7eb7e88021f05e1472d6fa6033da
treedf08100c6ab091542746a450adfab689cc2452cb
parent92c86afe1542dfec4c4ad446f831bba8667faba3
[media] em28xx: overhaul em28xx_capture_area_set()

- move the bit shifting of width+height values inside the function
- fix the debug message format and output values
- add comment about the size limit (e.g. EM277x supports >2MPix)
- make void, because error checking is incomplete and we never check the
  returned value (we would continue anyway)

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-core.c