commit | c13159a588818a1d2cd6519f4d3b6f7e17a9ffbd | [log] [tgz] |
---|---|---|
author | Hangyu Hua <hbh25y@gmail.com> | Sat Jan 01 01:21:37 2022 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Mar 08 19:09:30 2022 +0100 |
tree | 94aa6be3999213c01ee761533519da1a82e3f76c | |
parent | 00d5ac05af3a126e1fbd11a3309478b2b3b0296e [diff] |
usb: gadget: don't release an existing dev->buf commit 89f3594d0de58e8a57d92d497dea9fee3d4b9cda upstream. dev->buf does not need to be released if it already exists before executing dev_config. Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Hangyu Hua <hbh25y@gmail.com> Link: https://lore.kernel.org/r/20211231172138.7993-2-hbh25y@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>