Page MenuHomeFreeBSD

snd_hda: Add shutdown method
ClosedPublic

Authored by tijl on May 12 2025, 10:41 AM.
Tags
None
Referenced Files
F158005708: D50306.diff
Wed, May 27, 10:09 AM
Unknown Object (File)
Fri, May 15, 7:35 AM
Unknown Object (File)
Fri, May 15, 5:27 AM
Unknown Object (File)
Thu, May 14, 10:02 PM
Unknown Object (File)
Thu, May 14, 7:23 PM
Unknown Object (File)
Wed, May 13, 3:04 PM
Unknown Object (File)
Thu, May 7, 9:56 AM
Unknown Object (File)
Apr 22 2026, 3:47 PM
Subscribers

Details

Summary

Power down the device on shutdown similar to what is done in the case
of suspend. The device may fail to attach on next boot without this.

PR: 286385

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64099
Build 60983: arc lint + arc unit

Event Timeline

tijl requested review of this revision.May 12 2025, 10:41 AM

In the PR we discussed putting the callout and taskqueue stuff before the bus_generic_detach() call in hdac_detach(). Should the same apply here to make it more robust?

Drain callout and taskqueue before shutting down child devices

LGTM. We'll also need to MFC this to both stable/14 and releng/14.3.
CC @cperciva

This revision is now accepted and ready to land.May 17 2025, 7:30 PM
This revision was automatically updated to reflect the committed changes.