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

Commit 99573722 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: Limit prints in default cases"

parents 764ebbea 7d22630c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -491,7 +491,7 @@ long msm_isp_ioctl(struct v4l2_subdev *sd,
		break;

	default:
		pr_err("%s: Invalid ISP command\n", __func__);
		pr_err_ratelimited("%s: Invalid ISP command\n", __func__);
		rc = -EINVAL;
	}
	return rc;
+2 −1
Original line number Diff line number Diff line
@@ -1049,7 +1049,8 @@ static long msm_ispif_subdev_ioctl(struct v4l2_subdev *sd,
		return 0;
	}
	default:
		pr_err("%s: invalid cmd 0x%x received\n", __func__, cmd);
		pr_err_ratelimited("%s: invalid cmd 0x%x received\n",
			__func__, cmd);
		return -ENOIOCTLCMD;
	}
}
+1 −1
Original line number Diff line number Diff line
@@ -1783,7 +1783,7 @@ long msm_cpp_subdev_ioctl(struct v4l2_subdev *sd,
		break;
	}
	default:
		pr_err("invalid value: cmd=0x%x\n", cmd);
		pr_err_ratelimited("invalid value: cmd=0x%x\n", cmd);
		break;
	}
	mutex_unlock(&cpp_dev->mutex);
+1 −1
Original line number Diff line number Diff line
@@ -448,7 +448,7 @@ static long msm_csid_subdev_ioctl(struct v4l2_subdev *sd,
		rc = msm_csid_release(csid_dev);
		break;
	default:
		pr_err("%s: command not found\n", __func__);
		pr_err_ratelimited("%s: command not found\n", __func__);
	}
	CDBG("%s:%d\n", __func__, __LINE__);
	mutex_unlock(&csid_dev->mutex);
+1 −1
Original line number Diff line number Diff line
@@ -608,7 +608,7 @@ static long msm_csiphy_subdev_ioctl(struct v4l2_subdev *sd,
		rc = msm_csiphy_release(csiphy_dev, arg);
		break;
	default:
		pr_err("%s: command not found\n", __func__);
		pr_err_ratelimited("%s: command not found\n", __func__);
	}
	mutex_unlock(&csiphy_dev->mutex);
	CDBG("%s:%d\n", __func__, __LINE__);
Loading