aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/udc/udc-core.c
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2015-07-24 09:48:41 +0200
committerFelipe Balbi <balbi@ti.com>2015-07-27 10:19:50 -0500
commit4248bd7d3e2c7c87ff695d812018b8c22b5a5ab1 (patch)
tree17c3be3e9f9375fd83220d27c1cbed9e730276b4 /drivers/usb/gadget/udc/udc-core.c
parent774cf72f8ad971031428f8057d2947c8780a7b8c (diff)
usb: gadget: f_printer: actually limit the number of instances
There is a predefined maximum number of printer instances, currently 4. A chrdev region is allocated accordingly, but with configfs the user can create as many printer function directories as they like. To make the number of printer instances consistent with the number of allocated minors, the limit is enforced at directory creation time. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/udc/udc-core.c')
0 files changed, 0 insertions, 0 deletions