Patch "drm/i915: fix error path in intel_setup_gmbus()" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
drm/i915: fix error path in intel_setup_gmbus()
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-i915-fix-error-path-in-intel_setup_gmbus.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
ed3f9fd1e865975ceefdb2a43b453e090b1fd787Mon Sep 17 00:00:00 2001
From: Rasmus Villemoes <[email protected]>
Date: Tue, 9 Feb 2016 21:11:13 +0100
Subject: drm/i915: fix error path in intel_setup_gmbus()
From: Rasmus Villemoes <[email protected]>
commit ed3f9fd1e865975ceefdb2a43b453e090b1fd787 upstream.
This fails to undo the setup for pin==0; moreover, something interesting happens if the setup failed already at pin==0.
--- drivers/gpu/drm/i915/intel_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_i2c.c +1 -1
@@ -675,7 +675,7 @@ int intel_setup_gmbus(struct drm_devicereturn 0 ; err: -while (--pin) { +while (pin--) {if (!intel_gmbus_is_valid_pin (dev_priv, pin))continue ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/drm-amdgpu-use-post-decrement-in-error-handling.patch queue-4.4/drm-i915-fix-error-path-in-intel_setup_gmbus.patch