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

Commit 13f80029 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: actuator: add conditional check for ioctl"

parents f59b5eb5 d3d7cc2b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1704,6 +1704,10 @@ static long msm_actuator_subdev_do_ioctl(
			parg = &actuator_data;
			break;
		}
		break;
	case VIDIOC_MSM_ACTUATOR_CFG:
		pr_err("%s: invalid cmd 0x%x received\n", __func__, cmd);
		return -EINVAL;
	}

	rc = msm_actuator_subdev_ioctl(sd, cmd, parg);