Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: cx25840: describe standard for 0b1100 value in AFD_FMT_STAT bits

A 0b1100 value in 4 LSBs of "General Status 1" register (AFD_FMT_STAT) has
known meaning for CX2584x-series chips - it means that a SECAM signal is
currently detected by the chip.

Use this opportunity to also fix wrong binary values that were present
as comments attached to some entries in an array where
chip register -> V4L2 standard mappings are stored.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

authored by

Maciej S. Szmigiero and committed by
Mauro Carvalho Chehab
7ff06130 37ea9830

+2 -2
+2 -2
drivers/media/i2c/cx25840/cx25840-core.c
··· 1759 1759 1760 1760 /* 1001 */ V4L2_STD_UNKNOWN, 1761 1761 /* 1010 */ V4L2_STD_UNKNOWN, 1762 - /* 1001 */ V4L2_STD_UNKNOWN, 1763 - /* 1010 */ V4L2_STD_UNKNOWN, 1764 1762 /* 1011 */ V4L2_STD_UNKNOWN, 1763 + /* 1100 */ V4L2_STD_SECAM, 1764 + /* 1101 */ V4L2_STD_UNKNOWN, 1765 1765 /* 1110 */ V4L2_STD_UNKNOWN, 1766 1766 /* 1111 */ V4L2_STD_UNKNOWN 1767 1767 };