Changeset a64970e1 in mainline for uspace/drv/audio/hdaudio/hdactl.c
- Timestamp:
- 2025-03-05T19:25:06Z (21 hours ago)
- Branches:
- master
- Children:
- 07039850
- Parents:
- 89b5a75
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/hdaudio/hdactl.c
r89b5a75 ra64970e1 1 1 /* 2 * Copyright (c) 202 2Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 628 628 } 629 629 630 void hda_ctl_quiesce(hda_ctl_t *ctl) 631 { 632 uint32_t gctl; 633 634 ddf_msg(LVL_DEBUG, "hda_ctl_quiesce(): Resetting controller."); 635 gctl = hda_reg32_read(&ctl->hda->regs->gctl); 636 hda_reg32_write(&ctl->hda->regs->gctl, 637 gctl & ~BIT_V(uint32_t, gctl_crst)); 638 } 639 630 640 errno_t hda_cmd(hda_t *hda, uint32_t verb, uint32_t *resp) 631 641 {
Note:
See TracChangeset
for help on using the changeset viewer.