commit | 204668db894f7c26db6c56e94aba33ecd022cdb4 | [log] [tgz] |
---|---|---|
author | Frank Gevaerts <frank@gevaerts.be> | Sun Jan 05 22:54:10 2014 +0100 |
committer | Frank Gevaerts <frank@gevaerts.be> | Sun Jan 05 22:57:04 2014 +0100 |
tree | cd20c62a8287b99b28b140f60e8a8ba2a5b7b6ef | |
parent | 1e1b21591d931ed66450c2c810e1fce89e5c039f [diff] |
Make sure usb class driver disconnect() functions are called properly. disconnect() needs to be called exactly once per call to init_connection(). In case of bus resets, disconnect() was not called, which led to leaking alloc_maximum() allocated buflib handles, which led to buflib running out of memory to allocate. Change-Id: I03025da578dc54e48b6de6bd3e3f40feae7220a6