summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_fdi.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2021-09-30 12:32:29 +0300
committerJani Nikula <jani.nikula@intel.com>2021-10-01 11:51:17 +0300
commita23299bb9a49f08e0609b6136b3ee1da5ed486e5 (patch)
treedd05a1323ab301b0f45b968c2189f0646e279d4b /drivers/gpu/drm/i915/display/intel_fdi.c
parent7d8de8cabbba77eb35cdf075ab76a4b994a926ec (diff)
downloadlwn-a23299bb9a49f08e0609b6136b3ee1da5ed486e5.tar.gz
lwn-a23299bb9a49f08e0609b6136b3ee1da5ed486e5.zip
drm/i915/fdi: use -EAGAIN instead of local special return value
Using standard -EAGAIN should be perfectly fine instead of using a special case value. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210930093229.28598-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_fdi.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_fdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_fdi.c b/drivers/gpu/drm/i915/display/intel_fdi.c
index 02d3294bad7b..51d6f810e69b 100644
--- a/drivers/gpu/drm/i915/display/intel_fdi.c
+++ b/drivers/gpu/drm/i915/display/intel_fdi.c
@@ -267,7 +267,7 @@ retry:
}
if (needs_recompute)
- return I915_DISPLAY_CONFIG_RETRY;
+ return -EAGAIN;
return ret;
}