Home
last modified time | relevance | path

Searched hist:"86 dc243cb2ddecb6984401463ebb0963ceff3cdc" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/gadget/
H A Dusbstring.cdiff 86dc243cb2ddecb6984401463ebb0963ceff3cdc Thu Nov 17 22:42:24 CET 2011 Alan Stern <stern@rowland.harvard.edu> USB: remove homegrown UTF conversion routine for gadgets

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@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
H A DKconfigdiff 86dc243cb2ddecb6984401463ebb0963ceff3cdc Thu Nov 17 22:42:24 CET 2011 Alan Stern <stern@rowland.harvard.edu> USB: remove homegrown UTF conversion routine for gadgets

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@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>