Skip to content
Commit 1c947028 authored by Johann Fischer's avatar Johann Fischer Committed by Anas Nashif
Browse files

drivers: udc: add opaque pointer to store upper layer private data



Add an opaque pointer to store upper layer private data and initialize
it with the USB device context during controller initialization. Use the
pointer in event processing to get the correct context.

Fixes commit 48f2a4bc
("usb: device_next: remove initialized state checks in event processing")

Signed-off-by: default avatarJohann Fischer <johann.fischer@nordicsemi.no>
(cherry picked from commit 5ddaa3b1)
parent da137a58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment