Page MenuHomeFreeBSD

snd_hda: Add shutdown method
ClosedPublic

Authored by tijl on May 12 2025, 10:41 AM.
Tags
None
Referenced Files
F121187619: D50306.id.diff
Tue, Jun 24, 10:27 AM
F121178047: D50306.diff
Tue, Jun 24, 8:36 AM
Unknown Object (File)
Mon, Jun 23, 3:12 AM
Unknown Object (File)
Sun, Jun 22, 7:20 PM
Unknown Object (File)
Sat, Jun 21, 5:20 PM
Unknown Object (File)
Sat, Jun 21, 2:47 AM
Unknown Object (File)
Fri, Jun 20, 11:29 PM
Unknown Object (File)
Wed, Jun 18, 8:55 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 Not Applicable
Unit
Tests Not Applicable

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.