Home
last modified time | relevance | path

Searched hist:"12 d0b8f5f07b76d7447d60f7528d578233553909" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dg_dnl.c12d0b8f5f07b76d7447d60f7528d578233553909 Wed Feb 22 15:12:39 UTC 2017 Felipe Balbi <felipe.balbi@linux.intel.com> usb: gadget: g_dnl: hold maximum string descriptor

A USB String descriptor can be up to 255 characters long and it's not
NULL terminated according to the USB spec. This means our
MAX_STRING_SERIAL should be 256 (to cope with NULL terminator).

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>