mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[media] vpif_capture: move routing info from subdev to input
Routing information is a property of the input, not of the subdev. One subdev may provide multiple inputs, each with its own routing information. Signed-off-by: Hans Verkuil <[email protected]> Acked-by: Sekhar Nori <[email protected]> Acked-by: Lad, Prabhakar <[email protected]> Tested-by: Lad, Prabhakar <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
33bf178660
commit
7aaad13124
4 changed files with 19 additions and 12 deletions
|
|
@ -37,8 +37,6 @@ struct vpif_interface {
|
|||
struct vpif_subdev_info {
|
||||
const char *name;
|
||||
struct i2c_board_info board_info;
|
||||
u32 input;
|
||||
u32 output;
|
||||
struct vpif_interface vpif_if;
|
||||
};
|
||||
|
||||
|
|
@ -56,6 +54,8 @@ struct vpif_display_config {
|
|||
struct vpif_input {
|
||||
struct v4l2_input input;
|
||||
const char *subdev_name;
|
||||
u32 input_route;
|
||||
u32 output_route;
|
||||
};
|
||||
|
||||
struct vpif_capture_chan_config {
|
||||
|
|
|
|||
Loading…
Reference in a new issue