summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/usbstring.c
Commit message (Collapse)AuthorAgeFilesLines
* usb: handle NULL table in usb_gadget_get_stringRob Herring2014-04-301-0/+3
| | | | | | | | | | Allow a NULL table to be passed to usb_gadget_get_string for cases when a string table may not be populated. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Tom Rini <trini@ti.com> Acked-by: Marek Vasut <marex@denx.de> Acked-by: Lukasz Majewski <l.majewski@samsung.com>
* Add LGPL-2.1+ SPDX-License-Identifier to source filesWolfgang Denk2013-07-241-4/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* linux/usb/ch9.h: update with the version from Linux treeIlya Yanok2012-11-201-1/+0
| | | | Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
* usb:udc: Remove duplicated USB definitions from include/linux/usb/ch9.h fileLukasz Majewski2012-05-201-0/+1
| | | | | | | | | | | Remove the repeated USB descriptor code and use usbdescriptors.h file. ch9.h file has been copied from linux and is needed for USB gadget related work. Now usbdescriptors.h and ch9.h shall be used together. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Vasut <marex@denx.de>
* Coding Style cleanupWolfgang Denk2010-10-271-1/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* USB-CDC: Fix coding style issuesVitaly Kuzmichev2010-09-201-21/+27
| | | | | | | | | | | | | | | | | Fixes most of checkpatch warnings and errors in USB gadget stack. The most frequently encountered problems are: 1) "(foo*)", "foo * bar", "foo* bar" 2) C99 // comments 3) No spaces before/after/around '?', ':', '=', '==', ',', '&', '(' 4) Spaces before '[' 5) Spaces between function names and '(' 6) Block braces in wrong places 7) Spaces before tabs 8) Macros with complex values not enclosed in parenthesis 9) Multiline comments start just after /* Signed-off-by: Vitaly Kuzmichev <vkuzmichev@mvista.com>
* Integrate USB gadget layer and USB CDC driver layerRemy Bohmer2010-09-201-0/+134
Derived from Linux kernel 2.6.27 Signed-off-by: Thomas Smits <ts.smits@gmail.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
OpenPOWER on IntegriCloud