]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
usb: gadget: f_fs: do not set cancel function on synchronous {read,write}
authorRui Miguel Silva <rui.silva@linaro.org>
Mon, 18 May 2015 15:02:07 +0000 (16:02 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 6 Jul 2015 17:34:08 +0000 (12:34 -0500)
commit4088acf1e845aba35f30fb91dee10649edbd0e84
tree08865a7c25ee6e9923f2a9544f50cb654ba6e127
parent8515bac01a983d277148e4fcc5f235bf603de577
usb: gadget: f_fs: do not set cancel function on synchronous {read,write}

do not try to set cancel function in synchronous operations in
ffs_epfile_{read,write}_iter.

Cc: <stable@vger.kernel.org> # v4.0+
Acked-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_fs.c