diff options
author | Oleg Ryjkov <olegr@olegr.ca> | 2007-10-13 17:56:33 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-10-13 17:56:33 -0400 |
commit | 4153549734cbdba24e9cf5eb200b70b7b1572e15 (patch) | |
tree | 0a68ced86dd6a50f14269f4fa1648f9731036dae /scripts/checkincludes.pl | |
parent | a202707e71ff16d5e3a92f40eeaa41f3099dd8c5 (diff) |
i2c-nforce2: Move status checking to a separate function
This is the first part of the patch that adds a function to reset the
nvidia MCP51/55 i2c controller, if something bad happens to it (e.g.
a slave sends a wrong byte count during a block transaction).
This patch just adds nforce2_check_status function. It was originally
written by Hans-Frieder Vogt.
The reason that I'm the one sending it is:
- I relied on it for the second part of the patch,
- It makes the driver code cleaner/better.
Signed-off-by: Oleg Ryjkov <olegr@olegr.ca>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'scripts/checkincludes.pl')
0 files changed, 0 insertions, 0 deletions