OSDN Git Service

drm/i915/dsi: Fix chv_exec_gpio disabling the GPIOs it is setting
authorHans de Goede <hdegoede@redhat.com>
Thu, 1 Dec 2016 20:29:09 +0000 (21:29 +0100)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 7 Dec 2016 17:45:48 +0000 (19:45 +0200)
commitb2b45fcd921e864a5e9bbc7aa55dee96d5e11c06
treeb5cc76d1b26e1adc47a4c30389696921f92981e4
parent2b8208ac93be2783edc627fc02d9ca50cc479923
drm/i915/dsi: Fix chv_exec_gpio disabling the GPIOs it is setting

Set the CHV_GPIO_GPIOEN bit when updating GPIOs from chv_exec_gpio.

Fixes: a0a6d4ffd2ad ("drm/i915/dsi: add support for gpio elements on CHV")
Cc: stable@vger.kernel.org
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161201202925.12220-3-hdegoede@redhat.com
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_dsi_panel_vbt.c