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

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

Merge "drm/msm: return correct error for rsc state switching" into msm-4.9

parents 9935db69 56e33496
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -442,7 +442,7 @@ static int sde_rsc_switch_to_cmd(struct sde_rsc_priv *rsc,
	return rc;
}

static bool sde_rsc_switch_to_clk(struct sde_rsc_priv *rsc)
static int sde_rsc_switch_to_clk(struct sde_rsc_priv *rsc)
{
	struct sde_rsc_client *client;
	int rc = STATE_UPDATE_NOT_ALLOWED;
@@ -467,7 +467,7 @@ static bool sde_rsc_switch_to_clk(struct sde_rsc_priv *rsc)
	return rc;
}

static bool sde_rsc_switch_to_vid(struct sde_rsc_priv *rsc,
static int sde_rsc_switch_to_vid(struct sde_rsc_priv *rsc,
	struct sde_rsc_cmd_config *config,
	struct sde_rsc_client *caller_client)
{