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

Commit 7fb6cc71 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: sensor: ois: add conditional check for ioctl"

parents caca9a05 733152ab
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -818,6 +818,10 @@ static long msm_ois_subdev_do_ioctl(
			parg = &ois_data;
			break;
		}
		break;
	case VIDIOC_MSM_OIS_CFG:
		pr_err("%s: invalid cmd 0x%x received\n", __func__, cmd);
		return -EINVAL;
	}
	rc = msm_ois_subdev_ioctl(sd, cmd, parg);