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

Commit c9080afe authored by Xiaoming Zhou's avatar Xiaoming Zhou
Browse files

msm: mdss: fix the incorrect default error code



In the default case, it should return success, instead
of an error.

Change-Id: Ic2c947fad59896f9e71d9af721c458e444db91d4
Signed-off-by: default avatarXiaoming Zhou <zhoux@codeaurora.org>
parent 91df8430
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -382,7 +382,7 @@ int mdp3_bus_scale_set_quota(int client, u64 ab_quota, u64 ib_quota)

static int mdp3_clk_update(u32 clk_idx, u32 enable)
{
	int ret = -EINVAL;
	int ret = 0;
	struct clk *clk;
	int count = 0;