USB: minor fixes for r8a66597 driver
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 21 Aug 2007 19:36:52 +0000 (15:36 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:18 +0000 (14:55 -0700)
commitdfd1e53777afe1050e3a0a3f0dd063a64242b818
treeebd61076eb142ec969721aece9ddefbd05ff46bb
parentaf1c51fcb2aea23ec2dfe73b7d66515d1622e689
USB: minor fixes for r8a66597 driver

This patch (as967) makes a few relatively minor changes to the
r8a66597 driver:

finish_request() does nothing but call done(), so merge the
two routines.

Detect and report -EOVERFLOW errors.

Fix the calculation that checks for short packets.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/r8a66597-hcd.c