]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: improve em2710/em2820 distinction
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Thu, 11 Apr 2013 18:56:47 +0000 (15:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 23:04:36 +0000 (20:04 -0300)
commited390140916dd979c3f55e461b87ee97ffa08af6
tree24e5a61abf7251cdc44ed9102f41ee3b0a33f7f8
parent4b0ab18d5c824f82dab52908dd21188f30bbe160
[media] em28xx: improve em2710/em2820 distinction

Chip id 18 is used by the em2710 and em2820.
The current code assumes that if the device is a camera, the chip is an em2710
and an em2820 otherwise.
But it turned out that the em2820 is also used in camera devices.
"Silvercrest 1.3 MPix" webcams for example are available with both chips.
Fortunately both variants are using different generic USD IDs which give us a
hint about the used chip.

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