hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/media/i2c/msp3400-driver.h
....@@ -52,6 +52,12 @@
5252 extern bool msp_dolby;
5353 extern int msp_stereo_thresh;
5454
55
+enum msp3400_pads {
56
+ MSP3400_PAD_IF_INPUT,
57
+ MSP3400_PAD_OUT,
58
+ MSP3400_NUM_PADS
59
+};
60
+
5561 struct msp_state {
5662 struct v4l2_subdev sd;
5763 struct v4l2_ctrl_handler hdl;
....@@ -106,7 +112,7 @@
106112 unsigned int watch_stereo:1;
107113
108114 #if IS_ENABLED(CONFIG_MEDIA_CONTROLLER)
109
- struct media_pad pads[IF_AUD_DEC_PAD_NUM_PADS];
115
+ struct media_pad pads[MSP3400_NUM_PADS];
110116 #endif
111117 };
112118