Loading drivers/gpu/msm/kgsl_gmu.c +5 −2 Original line number Diff line number Diff line /* Copyright (c) 2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -1307,10 +1307,13 @@ static int gmu_disable_gdsc(struct gmu_device *gmu) do { if (!regulator_is_enabled(gmu->cx_gdsc)) return 0; cond_resched(); usleep_range(10, 100); } while (!(time_after(jiffies, t))); if (!regulator_is_enabled(gmu->cx_gdsc)) return 0; dev_err(&gmu->pdev->dev, "GMU CX gdsc off timeout"); return -ETIMEDOUT; } Loading Loading
drivers/gpu/msm/kgsl_gmu.c +5 −2 Original line number Diff line number Diff line /* Copyright (c) 2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -1307,10 +1307,13 @@ static int gmu_disable_gdsc(struct gmu_device *gmu) do { if (!regulator_is_enabled(gmu->cx_gdsc)) return 0; cond_resched(); usleep_range(10, 100); } while (!(time_after(jiffies, t))); if (!regulator_is_enabled(gmu->cx_gdsc)) return 0; dev_err(&gmu->pdev->dev, "GMU CX gdsc off timeout"); return -ETIMEDOUT; } Loading