drm/i915: Update the DSI enable path to support dual
authorGaurav K Singh <gaurav.k.singh@intel.com>
Fri, 5 Dec 2014 08:54:21 +0000 (14:24 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 5 Dec 2014 14:32:14 +0000 (15:32 +0100)
commit24ee0e64909bf7f1953d87d3e1e29d93eafcad73
tree71845eac885b098762c8ab3893866881d56242ba
parent384f02a2c4551fc785477d1808a59d717fd70420
drm/i915: Update the DSI enable path to support dual

We need to program both port registers during dual link enable path.

v2: Address review comments by Jani
    - Used a for loop instead of do-while loop.

v3: Used for_each_dsi_port macro instead of for loop

v4: Renamed mode_hactive variable to mode_hdisplay

Signed-off-by: Gaurav K Singh <gaurav.k.singh@intel.com>
Signed-off-by: Shobhit Kumar <shobhit.kumar@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dsi.c