Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74359
b: refs/heads/master
c: b64d708
h: refs/heads/master
i:
  74357: ea57c4e
  74355: 488197a
  74351: 438dcd5
v: v3
  • Loading branch information
Jean Delvare authored and Linus Torvalds committed Nov 29, 2007
1 parent cc3cd83 commit 4d92919
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e482179d547ff250cab487859b6fc91995bbdbb5
refs/heads/master: b64d70825abbf706bbe80be1b11b09514b71f45e
8 changes: 4 additions & 4 deletions trunk/drivers/video/fb_ddc.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,12 @@ unsigned char *fb_ddc_read(struct i2c_adapter *adapter)
int i, j;

algo_data->setscl(algo_data->data, 1);
algo_data->setscl(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, 0);
algo_data->setsda(algo_data->data, 1);
msleep(13);

algo_data->setscl(algo_data->data, 1);
Expand Down Expand Up @@ -97,14 +96,15 @@ unsigned char *fb_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;
}
/* Release the DDC lines when done or the Apple Cinema HD display
* will switch off
*/
algo_data->setsda(algo_data->data, 0);
algo_data->setscl(algo_data->data, 0);
algo_data->setsda(algo_data->data, 1);
algo_data->setscl(algo_data->data, 1);

return edid;
}
Expand Down

0 comments on commit 4d92919

Please sign in to comment.