• Tony Lindgren's avatar
    clk: ti: Fix missing omap4 mcbsp functional clock and aliases · cc2d819d
    Tony Lindgren authored
    We are using a wrong mcbsp functional clock. The interconnect target module
    driver provided clock for mcbsp is not same as the mcbsp functional clock
    known as the gfclk main_clk. The mcbsp functional clocks for mcbsp should
    have been added before we dropped the legacy platform data.
    
    Additionally we are also missing the clock aliases for the clocks used by
    the audio driver if reparenting is needed. This causes audio driver errors
    like "CLKS: could not clk_get() prcm_fck" for mcbsp as reported by Andreas.
    The mcbsp clock aliases too should have been added before we dropped the
    legacy platform data.
    
    Let's add the clocks and aliases with a single patch to fix the issue.
    
    Fixes: 349355ce ("ARM: OMAP2+: Drop legacy platform data for omap4 mcbsp")
    Reported-by: default avatarAndreas Kemnade <andreas@kemnade.info>
    Reported-by: default avatarPéter Ujfalusi <peter.ujfalusi@gmail.com>
    Acked-by: default avatarStephen Boyd <sboyd@kernel.org>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    cc2d819d
clk-44xx.c 28.6 KB