commit | 5ddaa3b1a1043d68a3885933cf2d38f210d48edc | [log] [tgz] |
---|---|---|
author | Johann Fischer <johann.fischer@nordicsemi.no> | Fri Jun 28 16:03:21 2024 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Aug 06 17:17:41 2024 -0400 |
tree | 0830b57fabbe9ac2f192c78a2faf4a8d770d3084 | |
parent | c374d3147b58579049ab63e7071795d81f6fcbe5 [diff] |
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 48f2a4bc1ad9 ("usb: device_next: remove initialized state checks in event processing") Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>