commit | f14e9ad17f46051b02bffffac2036486097de19e | [log] [tgz] |
---|---|---|
author | Rui Miguel Silva <rui.silva@linaro.org> | Wed May 20 14:52:40 2015 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Tue May 26 10:39:34 2015 -0500 |
tree | a1eb00b51af11edccff8c170d43857c6d324f269 | |
parent | 76e838c9f7765f9a6205b4d558d75a66104bc60d [diff] |
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>