Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1116d7e7 authored by Hangyu Hua's avatar Hangyu Hua Committed by Karsten Tausche
Browse files

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.

Issue: FP3SEC-397
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarHangyu Hua <hbh25y@gmail.com>
Link: https://lore.kernel.org/r/20211231172138.7993-2-hbh25y@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit c13159a588818a1d2cd6519f4d3b6f7e17a9ffbd)
Change-Id: I96c30f66a01a78ee27e6dd70b17f6ccb0ca38171
parent bd1ffc5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment