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

Commit 36ffc2bd authored by Dan Carpenter's avatar Dan Carpenter Committed by Inki Dae
Browse files

drm/exynos: fix a warning message



The "ret = regmap_write()" assignment was missing so this error message
is never printed.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 6c9c1581
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ static void mic_set_path(struct exynos_mic *mic, bool enable)
	} else
		val &= ~(MIC0_RGB_MUX | MIC0_I80_MUX | MIC0_ON_MUX);

	regmap_write(mic->sysreg, DSD_CFG_MUX, val);
	ret = regmap_write(mic->sysreg, DSD_CFG_MUX, val);
	if (ret)
		DRM_ERROR("mic: Failed to read system register\n");
}