]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/media/i2c/cx25840/cx25840-core.c
[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)
commitee61cd9f12382caf819ae4a40089b49f90dc2184
tree04120af69f00667f49b7734ec0a4fc0011ee1301
parentcdf472d32a5a1a99c54c3df5c155785db2e529c3
[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