usb/gadget: fix gadgetfs aio support.

commit 327b21da88 upstream.

Fix io submissions failing with ENODEV.

Signed-off-by: Mathieu Laurendeau <mat.lau@laposte.net>
Fixes: 7fe3976e0f ("gadget: switch ep_io_operations to ->read_iter/->write_iter")
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Mathieu Laurendeau 2016-07-15 14:58:41 +02:00 • committed by Greg Kroah-Hartman
commit 8fd5243e5f