Commit 59febc64 authored by Liu Ying's avatar Liu Ying Committed by Jason Liu

ENGR00215041-3 MX6 SabreSD:Correct camera and audio mclk freq

This patch corrects camera mclk and audio mclk frequency
to be 24MHz to align with 24MHz osc clock.
Signed-off-by: default avatarLiu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 00ea48ba38940c3a908f9a5d2e72ae285a221329)
parent b4963f50
......@@ -372,7 +372,7 @@ static int mxc_wm8958_init(void)
return PTR_ERR(clko);
}
/* both audio codec and comera use CLKO clk*/
rate = clk_round_rate(clko, 22000000);
rate = clk_round_rate(clko, 24000000);
wm8958_data.sysclk = rate;
clk_set_rate(clko, rate);
......@@ -412,7 +412,7 @@ static int mxc_wm8962_init(void)
return PTR_ERR(clko);
}
/* both audio codec and comera use CLKO clk*/
rate = clk_round_rate(clko, 22000000);
rate = clk_round_rate(clko, 24000000);
clk_set_rate(clko, rate);
wm8962_data.sysclk = rate;
......@@ -523,7 +523,7 @@ static void mx6q_csi0_io_init(void)
}
static struct fsl_mxc_camera_platform_data camera_data = {
.mclk = 22000000,
.mclk = 24000000,
.mclk_source = 0,
.csi = 0,
.io_init = mx6q_csi0_io_init,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment