Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/hdaudio/hdactl.c

    r0d59ea7e ra64970e1  
    11/*
    2  * Copyright (c) 2022 Jiri Svoboda
     2 * Copyright (c) 2025 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    628628}
    629629
     630void 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
    630640errno_t hda_cmd(hda_t *hda, uint32_t verb, uint32_t *resp)
    631641{
Note: See TracChangeset for help on using the changeset viewer.