]> git.baikalelectronics.ru Git - kernel.git/commit
[media] saa7115: move the autodetection code out of the probe function
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Apr 2013 13:22:47 +0000 (10:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 May 2013 11:24:08 +0000 (08:24 -0300)
commit4bc078b985cf844753fb054989998fc21a87f089
tree032de61314afa37a1bb2b6b6e5fca76bfe71447e
parentfe3a8492f7d61ec006e9221f8d30f7dc19f61716
[media] saa7115: move the autodetection code out of the probe function

As we're now seeing other variants from chinese clones, like
gm1113c, we'll need to add more bits at the detection code.
So, move it into a separate function.

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