diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-09-20 08:06:24 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-05 21:02:10 -0400 |
commit | 33bf1786602d819dc0467e77816dfa3f2a7e459d (patch) | |
tree | 38da693be2f556d21a02b7859c9c159e4ecf80d7 /arch/arm/mach-davinci | |
parent | 311673ee9b6746aa366cc19049899308ce8bd01f (diff) |
[media] vpif_capture: remove unnecessary can_route flag
Calling a subdev op that isn't implemented will just return -ENOIOCTLCMD
No need to have a flag for that.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Tested-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/board-da850-evm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/board-dm646x-evm.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index d0954a29d742..d92e0ab8c279 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c | |||
@@ -1209,7 +1209,6 @@ static struct vpif_subdev_info da850_vpif_capture_sdev_info[] = { | |||
1209 | }, | 1209 | }, |
1210 | .input = INPUT_CVBS_VI2B, | 1210 | .input = INPUT_CVBS_VI2B, |
1211 | .output = OUTPUT_10BIT_422_EMBEDDED_SYNC, | 1211 | .output = OUTPUT_10BIT_422_EMBEDDED_SYNC, |
1212 | .can_route = 1, | ||
1213 | .vpif_if = { | 1212 | .vpif_if = { |
1214 | .if_type = VPIF_IF_BT656, | 1213 | .if_type = VPIF_IF_BT656, |
1215 | .hd_pol = 1, | 1214 | .hd_pol = 1, |
@@ -1225,7 +1224,6 @@ static struct vpif_subdev_info da850_vpif_capture_sdev_info[] = { | |||
1225 | }, | 1224 | }, |
1226 | .input = INPUT_SVIDEO_VI2C_VI1C, | 1225 | .input = INPUT_SVIDEO_VI2C_VI1C, |
1227 | .output = OUTPUT_10BIT_422_EMBEDDED_SYNC, | 1226 | .output = OUTPUT_10BIT_422_EMBEDDED_SYNC, |
1228 | .can_route = 1, | ||
1229 | .vpif_if = { | 1227 | .vpif_if = { |
1230 | .if_type = VPIF_IF_BT656, | 1228 | .if_type = VPIF_IF_BT656, |
1231 | .hd_pol = 1, | 1229 | .hd_pol = 1, |
diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c index 958679a20e13..a0be63b1dc0b 100644 --- a/arch/arm/mach-davinci/board-dm646x-evm.c +++ b/arch/arm/mach-davinci/board-dm646x-evm.c | |||
@@ -603,7 +603,6 @@ static struct vpif_subdev_info vpif_capture_sdev_info[] = { | |||
603 | }, | 603 | }, |
604 | .input = INPUT_CVBS_VI2B, | 604 | .input = INPUT_CVBS_VI2B, |
605 | .output = OUTPUT_10BIT_422_EMBEDDED_SYNC, | 605 | .output = OUTPUT_10BIT_422_EMBEDDED_SYNC, |
606 | .can_route = 1, | ||
607 | .vpif_if = { | 606 | .vpif_if = { |
608 | .if_type = VPIF_IF_BT656, | 607 | .if_type = VPIF_IF_BT656, |
609 | .hd_pol = 1, | 608 | .hd_pol = 1, |
@@ -619,7 +618,6 @@ static struct vpif_subdev_info vpif_capture_sdev_info[] = { | |||
619 | }, | 618 | }, |
620 | .input = INPUT_SVIDEO_VI2C_VI1C, | 619 | .input = INPUT_SVIDEO_VI2C_VI1C, |
621 | .output = OUTPUT_10BIT_422_EMBEDDED_SYNC, | 620 | .output = OUTPUT_10BIT_422_EMBEDDED_SYNC, |
622 | .can_route = 1, | ||
623 | .vpif_if = { | 621 | .vpif_if = { |
624 | .if_type = VPIF_IF_BT656, | 622 | .if_type = VPIF_IF_BT656, |
625 | .hd_pol = 1, | 623 | .hd_pol = 1, |