]> Pileus Git - ~andy/linux/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)
commitddf289f98b5ef664e4606205cf31d147eab76b18
treedf08100c6ab091542746a450adfab689cc2452cb
parent9f3b935bfdf0e92b07a6ce0baf0eaa40b98866dc
[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