diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2005-10-13 17:00:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 16:47:44 -0700 |
commit | b81d34363c0b17c47f4ef63d5888c4f47f315d29 (patch) | |
tree | af4151e7d296da8f9e9a493ed81c5513f2454618 /net/irda/wrapper.c | |
parent | 0c0382e32d46f606951010b202382be14d180a17 (diff) | |
download | op-kernel-dev-b81d34363c0b17c47f4ef63d5888c4f47f315d29.zip op-kernel-dev-b81d34363c0b17c47f4ef63d5888c4f47f315d29.tar.gz |
[PATCH] UHCI: Improve handling of iso TDs
The uhci-hcd driver is fairly lax about the way it handles isochronous
transfers. This patch (as579) improves it in three respects:
TDs for a new URB aren't added to the schedule until all of
them have been allocated. This way there's no risk of the
controller executing some of them when an allocation fails.
TDs for an unlinked URB are removed from the schedule as soon
as the URB is unlinked, rather than waiting until the URB is
given back. This way there's no risk of the controller still
executing a TD after the URB completes.
The urb->error_count values are now reported correctly.
Although since they aren't used in any drivers except for
debug messages in the system log, probably nobody cares.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/irda/wrapper.c')
0 files changed, 0 insertions, 0 deletions