upstream: [media] saa7115: add detection code for gm7113c
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Apr 2013 13:22:48 +0000 (10:22 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:47:58 +0000 (11:47 +0900)
commit3238ac8e91224e5c15a2023833cc96a5ac5d5810
tree788c668c1b275465944eb67e67db07aab4dd6d24
parentaa885eceb2931a433bee3fbe7f3dd73fdd140df8
upstream: [media] saa7115: add detection code for gm7113c

Adds a code that (auto)detects gm7113c clones. The auto-detection
here is not perfect, as, on contrary to what it would be expected
by looking into its datasheets some devices would return, instead:
saa7115 0-0025: chip 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 @ 0x4a is unknown
(found on a device labeled as GM7113C 1145 by Ezequiel Garcia)

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Tested-by: Jon Arne Jørgensen <jonarne@jonarne.no>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/saa7115.c
include/media/v4l2-chip-ident.h