]> 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)
commit58e5b3f599858e3613599444b4fa8fd8e5bf4ae7
tree24e5a61abf7251cdc44ed9102f41ee3b0a33f7f8
parentf28b56272e918220d021cf61897e2fa8956f4d35
[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