drm/msm/hdmi: fix HDMI_MUX_EN gpio request typo
authorBeeresh Gopal <gbeeresh@codeaurora.org>
Thu, 31 Jul 2014 15:48:50 +0000 (11:48 -0400)
committerRob Clark <robdclark@gmail.com>
Mon, 4 Aug 2014 15:55:30 +0000 (11:55 -0400)
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>
drivers/gpu/drm/msm/hdmi/hdmi_connector.c

index 67245b7..4aca2a3 100644 (file)
@@ -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);