Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

media: imx-mipi-csis: Move redundant debug print in probe

The number of data lanes is already printed as part of
mipi_csis_async_register(), making the first part of this print
redundant. Remove the redundant print, and move the debug print for
clock frequency to mipi_csis_parse_dt().

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Isaac Scott <isaac.scott@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>

authored by

Isaac Scott and committed by
Hans Verkuil
e10d6d96 fd3f646e

+1 -3
+1 -3
drivers/media/platform/nxp/imx-mipi-csis.c
··· 1481 1481 struct device_node *node = csis->dev->of_node; 1482 1482 1483 1483 of_property_read_u32(node, "clock-frequency", &csis->clk_frequency); 1484 + dev_dbg(csis->dev, "clock frequency: %u\n", csis->clk_frequency); 1484 1485 1485 1486 csis->num_channels = 1; 1486 1487 of_property_read_u32(node, "fsl,num-channels", &csis->num_channels); ··· 1566 1565 if (ret < 0) 1567 1566 goto err_unregister_all; 1568 1567 } 1569 - 1570 - dev_info(dev, "lanes: %d, freq: %u\n", 1571 - csis->bus.num_data_lanes, csis->clk_frequency); 1572 1568 1573 1569 return 0; 1574 1570