Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7beff62e authored by Alan Cox's avatar Alan Cox Committed by Dave Airlie
Browse files

gma500: Fix Poulsbo suspend/resume crash on devices with SDVO ports



Reported-by: default avatarGuillaume Clément <guillaume@baobob.org>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent bc794829
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -197,6 +197,7 @@ static int psb_save_display_registers(struct drm_device *dev)
	}

	list_for_each_entry(connector, &dev->mode_config.connector_list, head)
		if (connector->funcs->save)
			connector->funcs->save(connector);

	mutex_unlock(&dev->mode_config.mutex);
@@ -235,6 +236,7 @@ static int psb_restore_display_registers(struct drm_device *dev)
			crtc->funcs->restore(crtc);

	list_for_each_entry(connector, &dev->mode_config.connector_list, head)
		if (connector->funcs->restore)
			connector->funcs->restore(connector);

	mutex_unlock(&dev->mode_config.mutex);