summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/u_printer.h
Commit message (Collapse)AuthorAgeFilesLines
* usb: gadget: printer: Remove pnp_string static bufferKrzysztof Opasiak2017-01-241-3/+2
| | | | | | | | | | pnp string is usually much shorter than 1k so let's stop wasting 1k of memory for its buffer and make it dynamically alocated. This also removes 1k len limitation for pnp_string and adds a new line after string content if required. Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
* usb: gadget: printer: add configfs supportAndrzej Pietrasiewicz2015-03-101-0/+7
| | | | | | | | Add support for configfs interface so that f_printer can be used as a component of usb gadgets composed with it. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
* usb: gadget: f_printer: convert to new function interface with backward ↵Andrzej Pietrasiewicz2015-03-101-0/+30
compatibility In order to add configfs support, a usb function must be converted to use the new interface. This patch converts the function to the new interface and provides backward compatiblity layer, which can be removed after all its users are converted to use the new interface. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
OpenPOWER on IntegriCloud