diff options
author | Benoit Goby <benoit@android.com> | 2011-11-29 13:49:27 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:39:19 -0800 |
commit | 7f9ed524778bcdcd8a51bdeab2095655fb57c431 (patch) | |
tree | d0f3dded06581affa19ee3f003d6e4c3542ea4e8 /fs/yaffs2/yaffs_mtdif.h | |
parent | 1bac6490fc2e5147abd4b702b172edd6a4dfc077 (diff) |
usb: gadget: android: Cancel pending ctrlrequest before disabling
Make sure there is no pending ctrlrequest before removing the config.
Otherwise the ctrlrequest complete callback could access structures
after they have been freed. Unbind cancels pending transfers but not
ep0 requests.
Bug: 5513065 5440193
Change-Id: I063c22bf5d104a3d2df71cf622409459fac5f27a
Signed-off-by: Benoit Goby <benoit@android.com>
Diffstat (limited to 'fs/yaffs2/yaffs_mtdif.h')
0 files changed, 0 insertions, 0 deletions