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

Skip to content
Commit e5545c9b authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

usb: f_ccid: Assign descriptors only in function bind



Currently we assign the FS, HS and SS descriptors in bind_config
unconditionally. If the max supported speed is high, then bind
function does not allocate SS descriptors but the unbind function
calls usb_free_all_descriptors which results in slab error since
the SS descriptors exist anyway.
Fix this by assigning any function descriptors during bind only.

Change-Id: I83384bd68563e6b94fbb7c1f437282a3fa524de7
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent ddbece73
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