> + /* Enable Write Booster if we have scaled up else disable it */ > + if (!ret) { > + up_write(&hba->clk_scaling_lock); > + ufshcd_wb_ctrl(hba, scale_up); > + down_write(&hba->clk_scaling_lock); > + } Maybe add "goto out_unprepare" if ufshcd_scale_gear() in the clause above, Instead of checking !ret, to follow the function flow. Thanks, Avri