mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
ARM: OMAP2+: hwmod data: Fix wrong McBSP clock alias on OMAP4
The commit 503d0ea24d
ARM: OMAP4: hwmod data: Add aliases for McBSP fclk clocks
added a wrong "prcm_clk" alias for PRCM clock whereas the McBSP
driver and previous OMAPs are using "prcm_fck".
It thus lead to the following warning.
[ 47.409729] omap-mcbsp: clks: could not clk_get() prcm_fck
Fix that by changing the opt_clk role to prcm_fck.
Reported-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Sebastien Guiriec <s-guiriec@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
This commit is contained in:
parent
b0a70cc80e
commit
d7a0b5133f
@ -1928,7 +1928,7 @@ static struct omap_hwmod_dma_info omap44xx_mcbsp1_sdma_reqs[] = {
|
|||||||
|
|
||||||
static struct omap_hwmod_opt_clk mcbsp1_opt_clks[] = {
|
static struct omap_hwmod_opt_clk mcbsp1_opt_clks[] = {
|
||||||
{ .role = "pad_fck", .clk = "pad_clks_ck" },
|
{ .role = "pad_fck", .clk = "pad_clks_ck" },
|
||||||
{ .role = "prcm_clk", .clk = "mcbsp1_sync_mux_ck" },
|
{ .role = "prcm_fck", .clk = "mcbsp1_sync_mux_ck" },
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct omap_hwmod omap44xx_mcbsp1_hwmod = {
|
static struct omap_hwmod omap44xx_mcbsp1_hwmod = {
|
||||||
@ -1963,7 +1963,7 @@ static struct omap_hwmod_dma_info omap44xx_mcbsp2_sdma_reqs[] = {
|
|||||||
|
|
||||||
static struct omap_hwmod_opt_clk mcbsp2_opt_clks[] = {
|
static struct omap_hwmod_opt_clk mcbsp2_opt_clks[] = {
|
||||||
{ .role = "pad_fck", .clk = "pad_clks_ck" },
|
{ .role = "pad_fck", .clk = "pad_clks_ck" },
|
||||||
{ .role = "prcm_clk", .clk = "mcbsp2_sync_mux_ck" },
|
{ .role = "prcm_fck", .clk = "mcbsp2_sync_mux_ck" },
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct omap_hwmod omap44xx_mcbsp2_hwmod = {
|
static struct omap_hwmod omap44xx_mcbsp2_hwmod = {
|
||||||
@ -1998,7 +1998,7 @@ static struct omap_hwmod_dma_info omap44xx_mcbsp3_sdma_reqs[] = {
|
|||||||
|
|
||||||
static struct omap_hwmod_opt_clk mcbsp3_opt_clks[] = {
|
static struct omap_hwmod_opt_clk mcbsp3_opt_clks[] = {
|
||||||
{ .role = "pad_fck", .clk = "pad_clks_ck" },
|
{ .role = "pad_fck", .clk = "pad_clks_ck" },
|
||||||
{ .role = "prcm_clk", .clk = "mcbsp3_sync_mux_ck" },
|
{ .role = "prcm_fck", .clk = "mcbsp3_sync_mux_ck" },
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct omap_hwmod omap44xx_mcbsp3_hwmod = {
|
static struct omap_hwmod omap44xx_mcbsp3_hwmod = {
|
||||||
@ -2033,7 +2033,7 @@ static struct omap_hwmod_dma_info omap44xx_mcbsp4_sdma_reqs[] = {
|
|||||||
|
|
||||||
static struct omap_hwmod_opt_clk mcbsp4_opt_clks[] = {
|
static struct omap_hwmod_opt_clk mcbsp4_opt_clks[] = {
|
||||||
{ .role = "pad_fck", .clk = "pad_clks_ck" },
|
{ .role = "pad_fck", .clk = "pad_clks_ck" },
|
||||||
{ .role = "prcm_clk", .clk = "mcbsp4_sync_mux_ck" },
|
{ .role = "prcm_fck", .clk = "mcbsp4_sync_mux_ck" },
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct omap_hwmod omap44xx_mcbsp4_hwmod = {
|
static struct omap_hwmod omap44xx_mcbsp4_hwmod = {
|
||||||
|
Loading…
Reference in New Issue
Block a user