media: imx: imx7_mipi_csis: Make csi_state num_clocks field unsigned

The num_clocks field of the csi_state only stores positive values, make
it unsigned.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Laurent Pinchart
2021-04-13 04:30:09 +02:00
committed by Mauro Carvalho Chehab
parent 62bd05a4f9
commit b4eb02656d

View File

@@ -309,7 +309,7 @@ struct csi_state {
struct dentry *debugfs_root;
bool debug;
int num_clks;
unsigned int num_clks;
struct clk_bulk_data *clks;
u32 clk_frequency;