From: Beeresh Gopal Date: Thu, 31 Jul 2014 15:48:50 +0000 (-0400) Subject: drm/msm/hdmi: fix HDMI_MUX_EN gpio request typo X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2fe6cdc03d7a9b0d048a7f32f9d8827e06c67fa;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/msm/hdmi: fix HDMI_MUX_EN gpio request typo HDMI_MUX_EN gpio is requested. If an error occurs, the same name should be printed (HDMI_MUX_EN) instead of HDMI_MUX_SEL (typo). Signed-off-by: Beeresh Gopal Signed-off-by: Stephane Viau Reviewed-by: Andreas Färber Signed-off-by: Rob Clark --- diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_connector.c b/drivers/gpu/drm/msm/hdmi/hdmi_connector.c index 67245b79375f..4aca2a3c667c 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_connector.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_connector.c @@ -63,7 +63,7 @@ static int gpio_config(struct hdmi *hdmi, bool on) ret = gpio_request(config->mux_en_gpio, "HDMI_MUX_EN"); if (ret) { dev_err(dev->dev, "'%s'(%d) gpio_request failed: %d\n", - "HDMI_MUX_SEL", config->mux_en_gpio, ret); + "HDMI_MUX_EN", config->mux_en_gpio, ret); goto error4; } gpio_set_value_cansleep(config->mux_en_gpio, 1);