Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport v3.7-branch] drivers: udc: add opaque pointer to store upper layer private data #76757

Merged
merged 1 commit into from
Oct 18, 2024

Commits on Aug 6, 2024

  1. 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 48f2a4b
    ("usb: device_next: remove initialized state checks in event processing")
    
    Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
    (cherry picked from commit 5ddaa3b)
    jfischer-no authored and github-actions[bot] committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    80bc3df View commit details
    Browse the repository at this point in the history