Skip to content

Commit 249159f

Browse files
ngphibangnashif
authored andcommitted
drivers: video: csi: Drop pixel format config
The pixel format config is not used in the low level driver. Drop it. Signed-off-by: Phi Bang Nguyen <[email protected]>
1 parent 46eb7e2 commit 249159f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/video/video_mcux_csi.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ struct video_mcux_csi_data {
3030
csi_handle_t csi_handle;
3131
struct k_fifo fifo_in;
3232
struct k_fifo fifo_out;
33-
uint32_t pixelformat;
3433
struct k_poll_signal *signal;
3534
};
3635

@@ -126,7 +125,6 @@ static int video_mcux_csi_set_fmt(const struct device *dev, enum video_endpoint_
126125
return -EINVAL;
127126
}
128127

129-
data->pixelformat = fmt->pixelformat;
130128
data->csi_config.bytesPerPixel = bpp;
131129
data->csi_config.linePitch_Bytes = fmt->pitch;
132130
data->csi_config.polarityFlags = kCSI_HsyncActiveHigh | kCSI_DataLatchOnRisingEdge;

0 commit comments

Comments
 (0)