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

SN32: USB wakeup and interrupt handling cleanup #376

Merged
merged 3 commits into from
Jul 21, 2023

Commits on Jul 20, 2023

  1. sn32: fix host remote wakeup

    Previously a device which attempted to wake a sleeping host would not be
    notified about the resumed operation and thus stay suspended for ever.
    
    This is due to the fact that only a host initiated wakeup would trigger
    a interrupt. As a workaround we use the SOF interrupt which is enabled
    for a short amount of time to detect the resume of the bus and wakeup
    the device.
    dexter93 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    e4a35d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9a4a51 View commit details
    Browse the repository at this point in the history
  3. sn32: usb: do NOT clear interrupt status until handled

    Leftover Sonix reference code cleanup. Sometimes when there is traffic
    on more than 1 ep's packets would be dropped before they could be handled.
    Clearing the status flags after handling them takes care of it.
    dexter93 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    5ded9de View commit details
    Browse the repository at this point in the history