File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -1447,15 +1447,11 @@ static int ufs_qcom_clk_scale_up_pre_change(struct ufs_hba *hba)
1447
1447
if (!ufs_qcom_cap_qunipro (host ))
1448
1448
return 0 ;
1449
1449
1450
- if (attr ) {
1451
- ret = ufs_qcom_cfg_timers (hba , attr -> gear_rx ,
1452
- attr -> pwr_rx , attr -> hs_rate ,
1453
- false, true);
1454
- if (ret ) {
1455
- dev_err (hba -> dev , "%s ufs cfg timer failed\n" ,
1456
- __func__ );
1457
- return ret ;
1458
- }
1450
+ ret = ufs_qcom_cfg_timers (hba , attr -> gear_rx , attr -> pwr_rx ,
1451
+ attr -> hs_rate , false, true);
1452
+ if (ret ) {
1453
+ dev_err (hba -> dev , "%s ufs cfg timer failed\n" , __func__ );
1454
+ return ret ;
1459
1455
}
1460
1456
/* set unipro core clock attributes and clear clock divider */
1461
1457
return ufs_qcom_set_core_clk_ctrl (hba , true);
You can’t perform that action at this time.
0 commit comments