[media] i2c: saa7115: Support CJC7113 detection
authorKevin Fitch <kfitch42@gmail.com>
Wed, 23 Mar 2016 04:23:32 +0000 (01:23 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 6 May 2016 18:52:51 +0000 (15:52 -0300)
commit7e31223ff0196dc5c5e8124b3c05ab4a25847c59
treecaef876466d70ed3d7621c7bbd0ebd128132eaf6
parent95dd7b7e30f385c1c2d5e41457c082c5f6c535b3
[media] i2c: saa7115: Support CJC7113 detection

It's been reported that CJC7113 devices are returning
all 1s when reading register 0:

  "1111111111111111" found @ 0x4a (stk1160)

This new device is apparently compatible with SA7113, so let's
add a quirk to allow its autodetection. Given there isn't
any known differences with SAA7113, this commit does not
introduces a new saa711x_model value.

Reported-by: Philippe Desrochers <desrochers.philippe@gmail.com>
Signed-off-by: Kevin Fitch <kfitch42@gmail.com>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/saa7115.c