Commit 5eb32874 authored by Daeseok Youn's avatar Daeseok Youn Committed by Greg Kroah-Hartman

staging: atomisp: move mipi_info assignment to next line in __get_asd_from_port()

The line which is initializing mipi_info variable is too long
to read. It would be placed in next line.
Signed-off-by: default avatarDaeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7eb21a88
...@@ -533,9 +533,11 @@ __get_asd_from_port(struct atomisp_device *isp, mipi_port_ID_t port) ...@@ -533,9 +533,11 @@ __get_asd_from_port(struct atomisp_device *isp, mipi_port_ID_t port)
/* Check which isp subdev to send eof */ /* Check which isp subdev to send eof */
for (i = 0; i < isp->num_of_streams; i++) { for (i = 0; i < isp->num_of_streams; i++) {
struct atomisp_sub_device *asd = &isp->asd[i]; struct atomisp_sub_device *asd = &isp->asd[i];
struct camera_mipi_info *mipi_info = struct camera_mipi_info *mipi_info;
atomisp_to_sensor_mipi_info(
mipi_info = atomisp_to_sensor_mipi_info(
isp->inputs[asd->input_curr].camera); isp->inputs[asd->input_curr].camera);
if (asd->streaming == ATOMISP_DEVICE_STREAMING_ENABLED && if (asd->streaming == ATOMISP_DEVICE_STREAMING_ENABLED &&
__get_mipi_port(isp, mipi_info->port) == port) { __get_mipi_port(isp, mipi_info->port) == port) {
return asd; return asd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment