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

Commit d335b7b7 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: fix logic error in adsp_shmem status check"

parents d0286604 ca2ba183
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -836,7 +836,7 @@ static long msm_csid_subdev_ioctl(struct v4l2_subdev *sd,
		break;
	case VIDIOC_MSM_CSID_RELEASE:
	case MSM_SD_SHUTDOWN:
		if (adsp_shmem_get_state() == CAMERA_STATUS_END) {
		if (adsp_shmem_get_state() != CAMERA_STATUS_END) {
			/* aDSP still in use */
			rc = 0;
			break;