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

Commit 160f6b43 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: fd: Ignore error if round rate fails"

parents ad71ac18 c6e1ea32
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -596,8 +596,8 @@ static int msm_fd_hw_set_clock_rate_idx(struct msm_fd_device *fd,

		clk_rate = clk_round_rate(fd->clk[i], fd->clk_rates[idx][i]);
		if (clk_rate < 0) {
			dev_err(fd->dev, "Fail clock round rate\n");
			return -EINVAL;
			dev_dbg(fd->dev, "Clk raund rate fail skip %d\n", i);
			continue;
		}

		ret = clk_set_rate(fd->clk[i], clk_rate);