usb: gadget: uvc: fix permissions of configfs attributes
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>
Sat, 28 Nov 2015 17:35:44 +0000 (18:35 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 8 Dec 2015 14:53:43 +0000 (08:53 -0600)
commit27681abc429554622a188a3a0b213fb1c20040f7
tree3d17b43f37c55998c3b6561cd158c1812f691c6b
parent4d05591094979d24a0e728f246589963c40102e9
usb: gadget: uvc: fix permissions of configfs attributes

76e0da3 "usb-gadget/uvc: use per-attribute show and store methods"
removed write permission for writeable attributes. Correct attribute
permissions.

Fixes: 76e0da3 "usb-gadget/uvc: use per-attribute show and store methods"
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/uvc_configfs.c