commit | 02e8161e341b4e54a4a36233f98b79763bfa3f48 | [log] [tgz] |
---|---|---|
author | Benoit Goby <benoit@android.com> | Thu May 10 10:07:58 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 10 12:21:32 2012 -0700 |
tree | 7521e17e3fa102d185d7b497473c9618672dc167 | |
parent | 51cce6fc155c4d7eea2ff975ee7c82b89332c6d9 [diff] |
usb: gadget: composite: Initialize config->interface Reset config->interface in usb_add_config, as it may contain pointers to functions from a previous session if config is removed and re-added. Signed-off-by: Benoit Goby <benoit@android.com> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>