mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 11:43:16 -04:00
usb: enable cpu boost for specific class drivers
add needs_cpu_boost field to usb_class_driver and manage boost state in usb_core, similar to needs_exclusive_storage. Change-Id: Ieb0cd7bedda5b24bb0d209d5ce907db30f4815db
This commit is contained in:
parent
732f7bcfd9
commit
bbdada7690
9 changed files with 23 additions and 9 deletions
|
|
@ -692,6 +692,7 @@ static void usb_iap_notify_event(intptr_t data) {
|
|||
|
||||
struct usb_class_driver usb_cdrv_iap = {
|
||||
.needs_exclusive_storage = false,
|
||||
.needs_cpu_boost = true,
|
||||
.config = 2,
|
||||
.ep_allocs_size = ARRAYLEN(usb_iap_ep_allocs),
|
||||
.ep_allocs = usb_iap_ep_allocs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue