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

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

Merge "msm: camera: Add compat ioctl for camera sensor"

parents 0505e1bf 6715ea7d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -997,6 +997,12 @@ static long msm_actuator_subdev_do_ioctl(
				compat_ptr(u32->cfg.move.ringing_params);
			parg = &actuator_data;
			break;
		case CFG_SET_POSITION:
			actuator_data.cfgtype = u32->cfgtype;
			actuator_data.is_af_supported = u32->is_af_supported;
			memcpy(&actuator_data.cfg.setpos, &(u32->cfg.setpos),
				sizeof(struct msm_actuator_set_position_t));
			break;
		default:
			actuator_data.cfgtype = u32->cfgtype;
			parg = &actuator_data;