diff options
| author | Vijayavardhan Vennapusa <vvreddy@codeaurora.org> | 2016-01-28 10:58:39 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:10:02 -0700 |
| commit | e822c0fcf5aca104b4ccb3905b2bce21779f370b (patch) | |
| tree | e41d35a537e8dcfb343f4c0c61cd4cc3cf5200d8 /include/linux | |
| parent | 55a6f12e78ba2ee1eb3be9f12cc840085f1ea9fc (diff) | |
USB: f_fs: Check error status before doing epfile I/O
Set error status before disabling endpoint during function
disable and also check error status before handling I/O. If error
status is set, return error status to read/write calls made by
userspace. Also set file's private data to NULL during epfile
release.
Change-Id: I14b5ee541dfc18a7802ef4a8033878a7729d9adb
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
