commit | 2bdb06e3cff066c546fb41152bc582a5ec73e899 | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Thu Nov 17 13:56:14 2011 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Wed Dec 21 19:01:40 2011 +1000 |
tree | 919e599c07672b170f1a1b6c3ab9d13294974729 | |
parent | 486a45c2a6c19b159602d044ab601a92cd81f524 [diff] |
drm/nouveau/i2c: tidy up bit-bang helpers, also fixing nv50 setsda bug Was using nv_mask, which is bad. Reading the reg senses the current line states, which aren't necessarily the states we're trying to drive the lines to. Fixed to store SCL driver state just as we already do for SDA. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>