summaryrefslogtreecommitdiff
path: root/drivers/mfd/mxc-hdmi-core.c
diff options
context:
space:
mode:
authorSandor Yu <R01008@freescale.com>2012-05-02 15:23:28 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:36:57 +0800
commite06bd223b1f5b8590cd5dcb741ba4c8b4a88c0f2 (patch)
tree89c9b7fb324f1fcebd1c377d314888ad81c55270 /drivers/mfd/mxc-hdmi-core.c
parent4c5a959c270e973bb16804b820848ffddfcf9a48 (diff)
ENGR00181323 update pixel clock name in HDMI Audio driver
update pixel clock name in HDMI Audio driver Signed-off-by: Sandor Yu <R01008@freescale.com>
Diffstat (limited to 'drivers/mfd/mxc-hdmi-core.c')
-rw-r--r--drivers/mfd/mxc-hdmi-core.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/mfd/mxc-hdmi-core.c b/drivers/mfd/mxc-hdmi-core.c
index 92fdf710a5b1..7ca594351e2e 100644
--- a/drivers/mfd/mxc-hdmi-core.c
+++ b/drivers/mfd/mxc-hdmi-core.c
@@ -421,9 +421,11 @@ static void hdmi_get_pixel_clk(void)
if (pixel_clk == NULL) {
ipu = ipu_get_soc(mxc_hdmi_ipu_id);
- pixel_clk = clk_get(ipu->dev, "pixel_clk_0");
+ pixel_clk = clk_get(ipu->dev,
+ ipu_lookups[mxc_hdmi_ipu_id][mxc_hdmi_disp_id].con_id);
if (IS_ERR(pixel_clk)) {
- pr_err("%s could not get pixel_clk_0\n", __func__);
+ pr_err("%s could not get ipu%d_pixel_clk_%d\n", __func__,
+ mxc_hdmi_ipu_id + 1, mxc_hdmi_disp_id);
return;
}
}