diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2006-02-09 04:29:00 -0500 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-09 04:29:00 -0500 |
| commit | 9caafa6c8686e319cf4d5f3757b3972c6c522b7c (patch) | |
| tree | b38979b835b5d22e681b175d0b98a3c7560d9c59 /drivers/parport/ieee1284.c | |
| parent | 51e9f2ff83df6b1c81c5c44f4486c68ed87aa20e (diff) | |
| parent | cac0e8e8bb2e7a086643bdd00c41d900a79bb4fa (diff) | |
Merge branch 'upstream-fixes'
Diffstat (limited to 'drivers/parport/ieee1284.c')
| -rw-r--r-- | drivers/parport/ieee1284.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/parport/ieee1284.c b/drivers/parport/ieee1284.c index 5b887ba5aaf9..690b239ad3a7 100644 --- a/drivers/parport/ieee1284.c +++ b/drivers/parport/ieee1284.c | |||
| @@ -61,10 +61,10 @@ static void timeout_waiting_on_port (unsigned long cookie) | |||
| 61 | * set to zero, it returns immediately. | 61 | * set to zero, it returns immediately. |
| 62 | * | 62 | * |
| 63 | * If an interrupt occurs before the timeout period elapses, this | 63 | * If an interrupt occurs before the timeout period elapses, this |
| 64 | * function returns one immediately. If it times out, it returns | 64 | * function returns zero immediately. If it times out, it returns |
| 65 | * a value greater than zero. An error code less than zero | 65 | * one. An error code less than zero indicates an error (most |
| 66 | * indicates an error (most likely a pending signal), and the | 66 | * likely a pending signal), and the calling code should finish |
| 67 | * calling code should finish what it's doing as soon as it can. | 67 | * what it's doing as soon as it can. |
| 68 | */ | 68 | */ |
| 69 | 69 | ||
| 70 | int parport_wait_event (struct parport *port, signed long timeout) | 70 | int parport_wait_event (struct parport *port, signed long timeout) |
| @@ -110,7 +110,7 @@ int parport_wait_event (struct parport *port, signed long timeout) | |||
| 110 | * | 110 | * |
| 111 | * If the status lines take on the desired values before the | 111 | * If the status lines take on the desired values before the |
| 112 | * timeout period elapses, parport_poll_peripheral() returns zero | 112 | * timeout period elapses, parport_poll_peripheral() returns zero |
| 113 | * immediately. A zero return value greater than zero indicates | 113 | * immediately. A return value greater than zero indicates |
| 114 | * a timeout. An error code (less than zero) indicates an error, | 114 | * a timeout. An error code (less than zero) indicates an error, |
| 115 | * most likely a signal that arrived, and the caller should | 115 | * most likely a signal that arrived, and the caller should |
| 116 | * finish what it is doing as soon as possible. | 116 | * finish what it is doing as soon as possible. |
