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

Commit cc65d162 authored by Meera Gande's avatar Meera Gande
Browse files

msm: camera: ispif: Fix for few code warnings



Due to uninitialized variables being used warnings
are reported.Made changes to initialize variables
before usage.

CRs-Fixed: 994269

Change-Id: Id0336e17e2d067d9d27dda3b4b19b6d1f48565e4
Signed-off-by: default avatarMeera Gande <mgande@codeaurora.org>
parent 182fc241
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1519,7 +1519,7 @@ static long msm_ispif_subdev_fops_ioctl(struct file *file, unsigned int cmd,
static int ispif_open_node(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh)
{
	struct ispif_device *ispif = v4l2_get_subdevdata(sd);
	int rc;
	int rc = 0;

	mutex_lock(&ispif->mutex);
	if (0 == ispif->open_cnt) {