BZ: 32739
lvds panel uses different variable to record panel status.
Change-Id: I0c46969a0c00def41c75708205dc47507054cace
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Reviewed-on: http://android.intel.com:8080/47712
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Zhang, Lei <lei.zhang@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
unsigned long irqflags;
spin_lock_irqsave(&dev_priv->irqmask_lock, irqflags);
+#ifdef CONFIG_SUPPORT_TOSHIBA_MIPI_LVDS_BRIDGE
+ if (dev_priv->bhdmiconnected && dev_priv->dpi_panel_on) {
+#else
if (dev_priv->bhdmiconnected && dsi_config->dsi_hw_context.panel_on) {
+#endif
if (ospm_power_using_hw_begin(OSPM_DISPLAY_ISLAND, OSPM_UHB_ONLY_IF_ON)) {
pipea_stat = REG_READ(psb_pipestat(0));
pipeb_stat = REG_READ(psb_pipestat(1));