Re: [PATCH] USB: remove homegrown UTF conversion routine for gadgets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 Nov 2011, Felipe Balbi wrote:

> Hi,
> 
> On Thu, Nov 17, 2011 at 04:42:24PM -0500, Alan Stern wrote:
> > This patch (as1502) removes the UTF8-to-UTF16 conversion routine in
> > the USB gadget library and replaces it with a call to the equivalent
> > function in the NLS library.
> > 
> > The only downside worth noting is that the NLS library routine
> > requires the output buffer to be 16-bit aligned.  This is always true
> > in the gadget code, because the output buffer is always a
> > usb_request buffer being used to send a string descriptor.
> > 
> > Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> 
> should I apply take this one via my tree or is the UTF discussion still
> going on ? Does it depend on the other patch in any way ?

This patch does depend on the first UTF change (but not on the second
because that one just renames some local variables).  Greg has already
merged this and the UTF change into his usb-next branch, so everything
should be okay unless you have an objection...

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux