aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <[email protected]>2015-07-24 09:48:40 +0200
committerFelipe Balbi <[email protected]>2015-07-27 10:19:50 -0500
commit774cf72f8ad971031428f8057d2947c8780a7b8c (patch)
tree592f655330afb07b95301b4ddb509b1911cfb251 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentc41b7767673cb76adeb2b5fde220209f717ea13c (diff)
usb: gadget: f_hid: actually limit the number of instances
There is a predefined maximum number of hid instances, currently 4. A chrdev region is allocated accordingly, but with configfs the user can create as many hid function directories as they like. To make the number of hid instances consistent with the number of allocated minors, the limit is enforced at directory creation time. Signed-off-by: Andrzej Pietrasiewicz <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions