summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-06-22 17:01:30 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-06-22 17:01:30 +0200
commit3809209349ccf12aa71c7848f0b21d77fa0a5f03 (patch)
treeafe6a91882c73a3ea48e7f170170c1837d9ff04c
parent473a1997ace1a9fb545d0457549e50d17eb36175 (diff)
Undo something i didn't want to change.
- I made it consistent with recent kernel fb code (maybe this is older bugged code?) - Still i don't use this and i should leave it to others.
-rw-r--r--linux-core/drm_edid.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/linux-core/drm_edid.c b/linux-core/drm_edid.c
index 812e64a6..22c6e3bf 100644
--- a/linux-core/drm_edid.c
+++ b/linux-core/drm_edid.c
@@ -601,15 +601,15 @@ static unsigned char *drm_ddc_read(struct i2c_adapter *adapter)
* Then set clock & data low
*/
algo_data->setscl(algo_data->data, 1);
- //udelay(550); /* startup delay */
- //algo_data->setscl(algo_data->data, 0);
- //algo_data->setsda(algo_data->data, 0);
+ udelay(550); /* startup delay */
+ algo_data->setscl(algo_data->data, 0);
+ algo_data->setsda(algo_data->data, 0);
for (i = 0; i < 3; i++) {
/* For some old monitors we need the
* following process to initialize/stop DDC
*/
- algo_data->setsda(algo_data->data, 1);
+ algo_data->setsda(algo_data->data, 0);
msleep(13);
algo_data->setscl(algo_data->data, 1);
@@ -644,7 +644,6 @@ static unsigned char *drm_ddc_read(struct i2c_adapter *adapter)
algo_data->setsda(algo_data->data, 1);
msleep(15);
algo_data->setscl(algo_data->data, 0);
- algo_data->setsda(algo_data->data, 0);
if (edid)
break;
}