Merge "msm: ais: sensor: actuator: add conditional check for ioctl"

This commit is contained in:
Linux Build Service Account 2017-07-21 20:15:20 -07:00 committed by Gerrit - the friendly Code Review server
commit e6ef63a8a8

View file

@ -1722,6 +1722,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);