]> 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)
commit9a1353172d30f718d7af1b285101eec2ea820bf3
treef0b4c84f0ad7420d5e90a83074f1b6e191e0a2c8
parent0199e459962138289a0c759da83a9dfa2f5a6097
[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