]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx25840: more cx23888 register address changes
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 30 Nov 2015 12:15:21 +0000 (10:15 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 18 Dec 2015 15:32:55 +0000 (13:32 -0200)
commit6c7f3be0e3304499a9118cd69d351ce9f7fb49cf
tree04120af69f00667f49b7734ec0a4fc0011ee1301
parent8b886a7a86a3549972a81c75a7e64943d9137099
[media] cx25840: more cx23888 register address changes

The cx23888 also moves the following registers around:

!cx23888 cx23888
-------- -------
0x418, 0x41c 0x434, 0x438
0x420 0x418 (expect for bit 29 which has a different meaning)
0x478 0x454

Also drop the set_input code where the scaler is changed: this does not
belong here, changing the input should not change the scaler.

And that's besides the fact that that code is plain wrong.

After this change the cx23888 behaves much better. In particular, calling
set_input no longer changes the saturation to 0, causing a grayscale
image.

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