diff options
author | Jerry Zhang <zhangjerry@google.com> | 2017-04-20 03:23:38 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-06-02 10:22:31 +0200 |
commit | 222155de45573e978cda988b7efc7d4e7b9a8ff9 (patch) | |
tree | adcb3c45cb941485794fa7be6a40155a3b7e7d7f /arch/arm/tools | |
parent | usb: gadget: remove redundant self assignment (diff) | |
download | linux-222155de45573e978cda988b7efc7d4e7b9a8ff9.tar.xz linux-222155de45573e978cda988b7efc7d4e7b9a8ff9.zip |
usb: gadget: function: f_fs: Let ffs_epfile_ioctl wait for enable.
This allows users to make an ioctl call as the first action on a
connection. Ex, some functions might want to get endpoint size
before making any i/os.
Previously, calling ioctls before read/write would depending on the
timing of endpoints being enabled.
ESHUTDOWN is now a possible return value and ENODEV is not, so change
docs accordingly.
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Jerry Zhang <zhangjerry@google.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'arch/arm/tools')
0 files changed, 0 insertions, 0 deletions