commit | ab573e4a7695541ef65a20f73936715549e1589b | [log] [tgz] |
---|---|---|
author | Sriharsha Allenki <sallenki@codeaurora.org> | Tue May 16 09:49:47 2017 +0530 |
committer | Sriharsha Allenki <sallenki@codeaurora.org> | Wed Nov 29 10:54:10 2017 +0530 |
tree | 4e5b0558ee0da684571a91c64623932c6d43a6fc | |
parent | d9f72f76fc4cbe0694e7994c9e6246427c7a2b5a [diff] |
usb: gadget: f_uvc: Fix crash on disconnect/connect during streaming The driver does a BUG_ON after cable connect if the previous session of streaming is not closed. Fix this by returning an error if the previous session of streaming is not closed. The user space application needs to close the streaming after cable disconnect. Change-Id: Ide47378efb0cdd0bef30ff7aa142a628eb1c962e Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>