diff options
author | Nathan Ciobanu <nathan.d.ciobanu@linux.intel.com> | 2018-07-21 00:44:13 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2018-07-24 02:00:07 +0300 |
commit | 102506d52922345cf17af362b94b869cffefbbe1 (patch) | |
tree | e5ef8f8ed7a52849086535adfddc4bc631744e27 /drivers/gpu/drm/i915/i915_perf.c | |
parent | bb5ffe6fd58cd37f1cade411c4a00745ed0fbbd1 (diff) | |
download | linux-102506d52922345cf17af362b94b869cffefbbe1.tar.xz |
drm/i915/dp: Refactor max_vswing_tries variable
Changes the type and renames the max_vswing_tries variable
which was declared as an integer but used as a boolean
making it easy to be confused with a counter.
Changes in v2:
- updated the title and commit message
- left the loop exit point in place
v3: fix typo in title
v4: renamed max_vswing to max_vswing_reached (Ville)
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Marc Herbert <marc.herbert@intel.com>
Signed-off-by: Nathan Ciobanu <nathan.d.ciobanu@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180720214413.29506-2-rodrigo.vivi@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_perf.c')
0 files changed, 0 insertions, 0 deletions