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

Tom Rini
2012-02-23T15:20:24Z

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@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