]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: Add intel_dsi_unprepare() helper
authorHans de Goede <hdegoede@redhat.com>
Tue, 28 Feb 2017 09:26:18 +0000 (11:26 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 28 Feb 2017 10:47:03 +0000 (12:47 +0200)
commitead2f2ab5e73a5f3ce407e5fa7b9e820140560e6
tree091d6ef4d5b7db83285a6a91c4a64a2ff46fb092
parent28ff3deca76572724a9a4290f7facfb09da593aa
drm/i915/dsi: Add intel_dsi_unprepare() helper

The enable path has an intel_dsi_prepare() helper which prepares various
registers for the mode-set. Move the code undoing this to a new
intel_dsi_unprepare() helper function for better symmetry between the
enable and disable paths. No functional changes.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Bob Paauwe <bob.j.paauwe@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/cc0baaf04ea74a20031b4b5bb128591dcfa78406.1488273823.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dsi.c