]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7493a52e6d806302b84f293cd6825c8c9d260f9e
treeebd61076eb142ec969721aece9ddefbd05ff46bb
parent316701e5583531476a9f759bcdb9d4bee25c32d2
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