]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: tvp5150: Fix comment regarding output pin muxing
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 9 Dec 2016 11:47:18 +0000 (09:47 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 21 Dec 2016 09:31:49 +0000 (07:31 -0200)
commitb48c369f5c12713cd5717fa7ca2d10fa100bfa01
treef0b4c84f0ad7420d5e90a83074f1b6e191e0a2c8
parentdfb0894f5df349bb975fd505dec131def0aa69fa
[media] v4l: tvp5150: Fix comment regarding output pin muxing

The FID/GLCO/VLK/HVLK and INTREQ/GPCL/VBLK pins are muxed differently
depending on whether the input is an S-Video or composite signal. The
comment that explains the logic doesn't reflect the code. It appears
that the comment is incorrect, as disabling the output data bus in
composite mode makes no sense. Update the comment to match the code.

While at it define macros for the MISC_CTL register bits, the code is
too confusing with numerical values.

Cc: stable@vger.kernel.org # For Kernel 4.5 and upper
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/tvp5150.c
drivers/media/i2c/tvp5150_reg.h