mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
V4L/DVB (12749): em28xx: remove unneeded code that set VINCTRL register
Remove redundant call to set the vinctrl register. This eliminates any ambiguity as to how the register is configured (since it is now always set in em28xx_set_outfmt). This work was sponsored by EyeMagnet Limited. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
19bf00384a
commit
10e0125502
@ -2492,13 +2492,10 @@ int em28xx_register_analog_devices(struct em28xx *dev)
|
|||||||
dev->mute = 1;
|
dev->mute = 1;
|
||||||
dev->volume = 0x1f;
|
dev->volume = 0x1f;
|
||||||
|
|
||||||
/* enable vbi capturing */
|
|
||||||
|
|
||||||
/* em28xx_write_reg(dev, EM28XX_R0E_AUDIOSRC, 0xc0); audio register */
|
/* em28xx_write_reg(dev, EM28XX_R0E_AUDIOSRC, 0xc0); audio register */
|
||||||
val = (u8)em28xx_read_reg(dev, EM28XX_R0F_XCLK);
|
val = (u8)em28xx_read_reg(dev, EM28XX_R0F_XCLK);
|
||||||
em28xx_write_reg(dev, EM28XX_R0F_XCLK,
|
em28xx_write_reg(dev, EM28XX_R0F_XCLK,
|
||||||
(EM28XX_XCLK_AUDIO_UNMUTE | val));
|
(EM28XX_XCLK_AUDIO_UNMUTE | val));
|
||||||
em28xx_write_reg(dev, EM28XX_R11_VINCTRL, 0x51);
|
|
||||||
|
|
||||||
em28xx_set_outfmt(dev);
|
em28xx_set_outfmt(dev);
|
||||||
em28xx_colorlevels_set_default(dev);
|
em28xx_colorlevels_set_default(dev);
|
||||||
|
Loading…
Reference in New Issue
Block a user