On Tue Aug 25 14:16:39 2026 -0500, Bradford Love wrote:
> Red/Blue chroma are swapped on PAL analog TV due to register 0x7A07
> missing in the configuration block for PAL. Copying in the setting for
> composite fixes the issue and everything decodes properly.
>
> Signed-off-by: Bradford Love <[email protected]>
> Signed-off-by: Hans Verkuil <[email protected]>
Patch committed.
Thanks,
Hans Verkuil
drivers/media/usb/em28xx/em28xx-video.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/drivers/media/usb/em28xx/em28xx-video.c
b/drivers/media/usb/em28xx/em28xx-video.c
index c418add65bb5..864bab86ef69 100644
--- a/drivers/media/usb/em28xx/em28xx-video.c
+++ b/drivers/media/usb/em28xx/em28xx-video.c
@@ -431,6 +431,7 @@ static void em2828X_decoder_set_std(struct em28xx *dev,
v4l2_std_id norm)
} else if (INPUT(dev->ctl_input)->vmux == EM2828X_TELEVISION) {
em28xx_write_reg(dev, 0x7A00, 0x32);
em28xx_write_reg(dev, 0x7A03, 0x09);
+ em28xx_write_reg(dev, 0x7A07, 0x2f);
em28xx_write_reg(dev, 0x7A30, 0x2a);
em28xx_write_reg(dev, 0x7A80, 0x03);
em28xx_write_reg(dev, 0x7A20, 0x35);
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]