]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
USB: usbtmc: fix up attribute permissions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 23:09:33 +0000 (16:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2013 22:12:03 +0000 (15:12 -0700)
commit2a6eb8ac9bdee5b09077ae2d6efc4babffd9d93e
tree6ccce2e442f1d78b24660acb2685d49b0462a789
parentd03f254f2ee2a708af9a7347402d9aed7f6cc4c1
USB: usbtmc: fix up attribute permissions

In auditing the usbtmc sysfs files, a bunch of them were being created
as "read only", yet they have logic to handle writing to.  So fix them
up by setting the permissions properly.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/usbtmc.c