]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: Merge intel_dsi_disable/enable into their respective callers
authorHans de Goede <hdegoede@redhat.com>
Tue, 28 Feb 2017 09:26:17 +0000 (11:26 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 28 Feb 2017 10:47:02 +0000 (12:47 +0200)
commit8823b57db9313963fe155874488cea3c7a7bc8c7
tree92e6a440d1a7578a382e0343538f5db802fe1789
parentaa3d169b549b1f64da900af676596b5045d6e55e
drm/i915/dsi: Merge intel_dsi_disable/enable into their respective callers

intel_dsi_disable/enable only have one caller, merge them into their
respective callers.

Change msleep(2) into usleep_range(2000, 5000) to make checkpatch happy,
otherwise no functional changes.

The main advantage of this change is that it makes it easier to
follow all the steps of the panel enable / disable sequence when
reading the code.

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/d7249612e6d2e9639ecd1d8d106ca37d5794f2a4.1488273823.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dsi.c