Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea526f8d authored by Harsh Shah's avatar Harsh Shah
Browse files

msm: camera: isp: Change local variable from uint32_t to int



Change the local variable num_wm from uint32_t to int so that
the error from cam_vfe_bus_get_num_wm() is correctly caught.

Change-Id: Ia03002bb199af49a60d818950b904c313367f93b
Signed-off-by: default avatarHarsh Shah <harshs@codeaurora.org>
parent b8071434
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1697,7 +1697,7 @@ static int cam_vfe_bus_acquire_vfe_out(void *bus_priv, void *acquire_args,
	int                                     i;
	enum cam_vfe_bus_ver2_vfe_out_type      vfe_out_res_id;
	uint32_t                                format;
	uint32_t                                num_wm;
	int                                     num_wm;
	uint32_t                                subscribe_irq;
	uint32_t                                client_done_mask;
	struct cam_vfe_bus_ver2_priv           *ver2_bus_priv = bus_priv;