lkml.org 
[lkml]   [2020]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ASoC: rt5682: Have global name clock option for parent clk
On Mon, Sep 07, 2020 at 09:30:37AM +0530, Akshu Agrawal wrote:
> When adding parent clk(mclk) to wclk, this adds fallback option
> for the case where global clk name is used.

> @@ -2780,6 +2780,7 @@ static int rt5682_register_dai_clks(struct snd_soc_component *component)
> if (rt5682->mclk) {
> init.parent_data = &(struct clk_parent_data){
> .fw_name = "mclk",
> + .name = __clk_get_name(rt5682->mclk),
> };
> init.num_parents = 1;
> }

I don't understand this change - we clearly already have the clock so
why can't we just use whatever we used when we originally looked it up
here?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-09-07 13:34    [W:0.874 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site