@@ -328,12 +328,12 @@ static int clk_imx8mp_audiomix_probe(struct platform_device *pdev)
328
328
for (i = 0 ; i < ARRAY_SIZE (sels ); i ++ ) {
329
329
if (sels [i ].num_parents == 1 ) {
330
330
hw = devm_clk_hw_register_gate_parent_data (dev ,
331
- sels [i ].name , & sels [i ].parent , 0 ,
331
+ sels [i ].name , & sels [i ].parent , CLK_SET_RATE_PARENT ,
332
332
base + sels [i ].reg , sels [i ].shift , 0 , NULL );
333
333
} else {
334
334
hw = devm_clk_hw_register_mux_parent_data_table (dev ,
335
335
sels [i ].name , sels [i ].parents ,
336
- sels [i ].num_parents , 0 ,
336
+ sels [i ].num_parents , CLK_SET_RATE_PARENT ,
337
337
base + sels [i ].reg ,
338
338
sels [i ].shift , sels [i ].width ,
339
339
0 , NULL , NULL );
@@ -376,7 +376,8 @@ static int clk_imx8mp_audiomix_probe(struct platform_device *pdev)
376
376
clk_hw_data -> hws [IMX8MP_CLK_AUDIOMIX_SAI_PLL_BYPASS ] = hw ;
377
377
378
378
hw = devm_clk_hw_register_gate (dev , "sai_pll_out" , "sai_pll_bypass" ,
379
- 0 , base + SAI_PLL_GNRL_CTL , 13 ,
379
+ CLK_SET_RATE_PARENT ,
380
+ base + SAI_PLL_GNRL_CTL , 13 ,
380
381
0 , NULL );
381
382
if (IS_ERR (hw )) {
382
383
ret = PTR_ERR (hw );
@@ -385,7 +386,8 @@ static int clk_imx8mp_audiomix_probe(struct platform_device *pdev)
385
386
clk_hw_data -> hws [IMX8MP_CLK_AUDIOMIX_SAI_PLL_OUT ] = hw ;
386
387
387
388
hw = devm_clk_hw_register_fixed_factor (dev , "sai_pll_out_div2" ,
388
- "sai_pll_out" , 0 , 1 , 2 );
389
+ "sai_pll_out" ,
390
+ CLK_SET_RATE_PARENT , 1 , 2 );
389
391
if (IS_ERR (hw )) {
390
392
ret = PTR_ERR (hw );
391
393
goto err_clk_register ;
0 commit comments