Re: [PATCH] usb: host: Faraday fotg210-hcd driver

From: Greg KH
Date: Mon Jun 17 2013 - 16:39:54 EST


On Wed, Jun 05, 2013 at 05:15:43PM +0000, Yuan-Hsin Chen wrote:
> FOTG210 is an OTG controller which can be configured as an
> USB2.0 host. FOTG210 host is an ehci-like controller with
> some differences. First, register layout of FOTG210 is
> incompatible with EHCI. Furthermore, FOTG210 is lack of
> siTDs which means iTDs are used for both HS and FS ISO
> transfer.
>
> Signed-off-by: Yuan-Hsin Chen <yhchen@xxxxxxxxxxxxxxxx>
> ---
> drivers/usb/Makefile | 1 +
> drivers/usb/host/Kconfig | 12 +
> drivers/usb/host/Makefile | 1 +
> drivers/usb/host/fotg210-hcd.c | 5967 ++++++++++++++++++++++++++++++++++++++++
> drivers/usb/host/fotg210.h | 746 +++++
> 5 files changed, 6727 insertions(+), 0 deletions(-)
> create mode 100644 drivers/usb/host/fotg210-hcd.c
> create mode 100644 drivers/usb/host/fotg210.h

You obviously didn't even run this through checkpatch.pl, did you?

$ ./scripts/checkpatch.pl --terse ../usb.mbox | tail -n 1
total: 138 errors, 618 warnings, 6742 lines checked

Please fix all of these if you wish us to at least start reviewing the
patch. Your internal Q/A should have caught this first, please be more
careful in the future.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/