summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBeeresh Gopal <gbeeresh@codeaurora.org>2014-07-31 11:48:50 -0400
committerRob Clark <robdclark@gmail.com>2014-08-04 11:55:30 -0400
commita2fe6cdc03d7a9b0d048a7f32f9d8827e06c67fa (patch)
tree1fece50b8ddd17a834a9b1c99e3fc7e8627ec364
parent1930f38a5d8724f6e5cdb75157d09e9a430bd68f (diff)
downloadlinux-a2fe6cdc03d7a9b0d048a7f32f9d8827e06c67fa.tar.bz2
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 <gbeeresh@codeaurora.org> Signed-off-by: Stephane Viau <sviau@codeaurora.org> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Rob Clark <robdclark@gmail.com>
-rw-r--r--drivers/gpu/drm/msm/hdmi/hdmi_connector.c2
1 files changed, 1 insertions, 1 deletions
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);