From: Dan Carpenter Date: Fri, 25 Mar 2016 20:05:59 +0000 (+0300) Subject: drm/exynos: fix a warning message X-Git-Tag: v4.9.8~2035^2~34^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e3fe3508fe6c46f1a393ee15397221241bcf981;p=platform%2Fkernel%2Flinux-rpi3.git drm/exynos: fix a warning message The "ret = regmap_write()" assignment was missing so this error message is never printed. Signed-off-by: Dan Carpenter Signed-off-by: Inki Dae --- diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c index 890c9b1..a0def0b 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_mic.c +++ b/drivers/gpu/drm/exynos/exynos_drm_mic.c @@ -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"); }