]> git.karo-electronics.de Git - karo-tx-linux.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)
commitb4b2de386bbb6589d81596999d4a924928dc119b
treef0b4c84f0ad7420d5e90a83074f1b6e191e0a2c8
parentaff808e813fc2d311137754165cf53d4ee6ddcc2
[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