]> git.karo-electronics.de Git - linux-beck.git/commit
[media] cx25840: relax a Vsrc check
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 30 Nov 2015 12:19:41 +0000 (10:19 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 18 Dec 2015 15:33:22 +0000 (13:33 -0200)
commit499ebed3ec3854687ccf160d0f262191be990720
tree844156476c27ae5cdb893d12ad45f0d93376adf8
parentee61cd9f12382caf819ae4a40089b49f90dc2184
[media] cx25840: relax a Vsrc check

The cx23888 reports a slightly different Vsrc value than the other
chip variants do. Relax the check by 1, otherwise cx25840_set_fmt()
would fail for the cx23888.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/cx25840/cx25840-core.c