]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] gspca/sn9c20x: Fix support for mt9m001 (mi1300) sensor
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Dec 2010 22:39:33 +0000 (19:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:17:00 +0000 (08:17 -0200)
commitd162e7aac24bfd8b96881582368f976e7e464c25
treeb7f9e4e3accac4d3ab5a07d1d78dfa3f03727cf4
parentd4b416f26279bbbe07faaff1c9cd19d6b3709b2e
[media] gspca/sn9c20x: Fix support for mt9m001 (mi1300) sensor

Support for mt9m001 (mi1300) is broken:
- Table is incomplete;
- Only one resolution is currently supported by the driver;
- Resolution is incomplete;
- it complains about broken JPEG headers.

Use the same init found on em28xx driver, and properly report the
output format as 8-bits GRAY.

Acked-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sn9c20x.c