Changes in uspace/drv/audio/hdaudio/hdactl.c [a64970e1:0d59ea7e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/hdaudio/hdactl.c
ra64970e1 r0d59ea7e 1 1 /* 2 * Copyright (c) 202 5Jiri Svoboda2 * Copyright (c) 2022 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 640 630 errno_t hda_cmd(hda_t *hda, uint32_t verb, uint32_t *resp) 641 631 {
Note:
See TracChangeset
for help on using the changeset viewer.