]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commit
v4l: xilinx: sdirxss: Detect mode based on capability
authorVishal Sagar <vishal.sagar@xilinx.com>
Mon, 28 Aug 2017 06:06:10 +0000 (11:36 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 28 Aug 2017 08:09:25 +0000 (10:09 +0200)
commitc4258bf5be54d2762d513e0a7ab9eeb472aad57d
tree98e0c82bda41e929115a688bd59c1c98261775ab
parentedd51552992dc78a6e8e34d8f6d2d497a1ecaefc
v4l: xilinx: sdirxss: Detect mode based on capability

Set the mode detection based on IP configuration.
If the IP is configured for 3G mode then don't allow detection for
6G and 12G Integral/Fractional modes.
If the IP is configured for 6G mode then don't allow detection for 12G
Integral/Fractional modes.

Signed-off-by: Vishal Sagar <vsagar@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/media/platform/xilinx/xilinx-sdirxss.c