em28xx: Fix em2828x PAL TV colours
Subsystems (2)
cover em28xx: Fix em2828x PAL TV colours
I missed a register in the setup for analog TV on PAL, causing red and blue chroma channels to be swapped.
Bradford Love (1):
em28xx: Fix PAL analog TV colours
drivers/media/usb/em28xx/em28xx-video.c | 1 + 1 file changed, 1 insertion(+)
Signature · 1 line
2.35.1
PATCH 1/1 em28xx: Fix PAL analog TV colours
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]>
--- drivers/media/usb/em28xx/em28xx-video.c | 1 + 1 file changed, 1 insertion(+)
drivers/media/usb/em28xx/em28xx-video.c +1 -0
@@ -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 );
Signature · 1 line
2.35.1