[U-Boot] [PATCH 2/2] usb: Add quirk "USB_QUIRK_STRING_FETCH_255"

Tom Rini trini at ti.com
Thu Feb 23 16:20:24 CET 2012


On Thu, Feb 23, 2012 at 07:55:26PM +0530, Puneet Saxena wrote:

> Add a quirk "USB_QUIRK_STRING_FETCH_255", borrowed from Linux
> kernel to fetch string using descriptor length then fetch actual bytes
> returned in descriptor buffer.
> 
> Signed-off-by: Puneet Saxena <puneets at nvidia.com>

I think this is too literal a borrowing.  In the kernel we don't use
CONFIG_... since we have dev->quirks and check that for this flag.  But
here IMHO we should just do CONFIG_USB_QURIK_...

-- 
Tom


More information about the U-Boot mailing list