diff options
author | Rui Miguel Silva <rui.silva@linaro.org> | 2015-05-20 14:52:40 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-05-26 10:39:34 -0500 |
commit | f14e9ad17f46051b02bffffac2036486097de19e (patch) | |
tree | a1eb00b51af11edccff8c170d43857c6d324f269 /include/linux/usb | |
parent | 76e838c9f7765f9a6205b4d558d75a66104bc60d (diff) | |
download | op-kernel-dev-f14e9ad17f46051b02bffffac2036486097de19e.zip op-kernel-dev-f14e9ad17f46051b02bffffac2036486097de19e.tar.gz |
usb: gadget: f_fs: add extra check before unregister_gadget_item
ffs_closed can race with configfs_rmdir which will call config_item_release, so
add an extra check to avoid calling the unregister_gadget_item with an null
gadget item.
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
0 files changed, 0 insertions, 0 deletions