Merge "msm: mdss: hdmi: fix 4 block EDID read failure"
This commit is contained in:
commit
bb646b5795
1 changed files with 6 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (c) 2010-2017, The Linux Foundation. All rights reserved.
|
/* Copyright (c) 2010-2017, 2019, The Linux Foundation. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License version 2 and
|
* it under the terms of the GNU General Public License version 2 and
|
||||||
|
@ -790,10 +790,12 @@ static void hdmi_ddc_trigger(struct hdmi_tx_ddc_ctrl *ddc_ctrl,
|
||||||
if (mode == TRIGGER_READ && seg) {
|
if (mode == TRIGGER_READ && seg) {
|
||||||
DSS_REG_W_ND(io, HDMI_DDC_DATA, BIT(31) | (seg_addr << 8));
|
DSS_REG_W_ND(io, HDMI_DDC_DATA, BIT(31) | (seg_addr << 8));
|
||||||
DSS_REG_W_ND(io, HDMI_DDC_DATA, seg_num << 8);
|
DSS_REG_W_ND(io, HDMI_DDC_DATA, seg_num << 8);
|
||||||
}
|
DSS_REG_W_ND(io, HDMI_DDC_DATA, (ddc_data->dev_addr << 8));
|
||||||
|
} else {
|
||||||
/* handle portion #1 */
|
/* handle portion #1 */
|
||||||
DSS_REG_W_ND(io, HDMI_DDC_DATA, BIT(31) | (ddc_data->dev_addr << 8));
|
DSS_REG_W_ND(io, HDMI_DDC_DATA,
|
||||||
|
BIT(31) | (ddc_data->dev_addr << 8));
|
||||||
|
}
|
||||||
|
|
||||||
/* handle portion #2 */
|
/* handle portion #2 */
|
||||||
DSS_REG_W_ND(io, HDMI_DDC_DATA, ddc_data->offset << 8);
|
DSS_REG_W_ND(io, HDMI_DDC_DATA, ddc_data->offset << 8);
|
||||||
|
|
Loading…
Add table
Reference in a new issue