mirror-linux/drivers/usb/gadget/function
Andrzej Pietrasiewicz 4248bd7d3e 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>
2015-07-27 10:19:50 -05:00
..
Makefile
f_acm.c
f_ecm.c
f_eem.c
f_fs.c usb: gadget: f_fs: do not set cancel function on synchronous {read,write} 2015-07-06 12:34:08 -05:00
f_hid.c usb: gadget: f_hid: actually limit the number of instances 2015-07-27 10:19:50 -05:00
f_loopback.c
f_mass_storage.c usb: f_mass_storage: limit number of reported LUNs 2015-07-06 12:34:08 -05:00
f_mass_storage.h
f_midi.c usb: gadget: f_midi: fix error recovery path 2015-07-06 12:34:08 -05:00
f_ncm.c
f_obex.c
f_phonet.c
f_printer.c usb: gadget: f_printer: actually limit the number of instances 2015-07-27 10:19:50 -05:00
f_rndis.c usb: gadget: rndis: remove the limit of available rndis connections 2015-05-07 13:47:17 -05:00
f_serial.c
f_sourcesink.c
f_subset.c
f_uac1.c usb: gadget: f_uac1: check return code from config_ep_by_speed 2015-05-26 10:15:09 -05:00
f_uac2.c usb: gadget: f_uac2: fix calculation of uac2->p_interval 2015-07-27 10:18:06 -05:00
f_uvc.c [media] gadget/uvc: embed video_device 2015-04-02 23:36:20 -03:00
f_uvc.h
g_zero.h
ndis.h
rndis.c usb: gadget: rndis: use signed type for a signed value 2015-05-21 16:29:14 -05:00
rndis.h usb: gadget: rndis: use signed type for a signed value 2015-05-21 16:29:14 -05:00
storage_common.c vfs: add file_path() helper 2015-06-23 18:00:05 -04:00
storage_common.h
u_ecm.h
u_eem.h
u_ether.c
u_ether.h
u_ether_configfs.h
u_fs.h
u_gether.h
u_hid.h
u_midi.h
u_ncm.h
u_phonet.h
u_printer.h
u_rndis.h usb: gadget: rndis: remove the limit of available rndis connections 2015-05-07 13:47:17 -05:00
u_serial.c usb: gadget: serial: fix re-ordering of tx data 2015-04-27 14:44:29 -05:00
u_serial.h
u_uac1.c
u_uac1.h
u_uac2.h
u_uvc.h
uvc.h usb: gadget: uvc: remove unused including <linux/version.h> 2015-04-27 15:48:11 -05:00
uvc_configfs.c
uvc_configfs.h
uvc_queue.c
uvc_queue.h
uvc_v4l2.c Merge branch 'drm-next-merged' of git://people.freedesktop.org/~airlied/linux into v4l_for_linus 2015-04-21 09:44:55 -03:00
uvc_v4l2.h
uvc_video.c Merge branch 'drm-next-merged' of git://people.freedesktop.org/~airlied/linux into v4l_for_linus 2015-04-21 09:44:55 -03:00
uvc_video.h