Changeset fff4f21 in mainline for uspace/drv/audio/hdaudio/stream.c


Ignore:
Timestamp:
2014-09-06T23:42:10Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a116f7f2
Parents:
f3831af
Message:

And there was sound.

File:
1 edited

Legend:

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

    rf3831af rfff4f21  
    198198        async_usleep(100 * 1000);
    199199
    200 //      ctl = hda_reg8_read(&sdregs->ctl1);
    201 //      ctl = ctl & ~BIT_V(uint8_t, sdctl1_srst);
    202 //      hda_reg8_write(&sdregs->ctl1, ctl);
    203 
    204 //      async_usleep(100 * 1000);
     200        ctl = hda_reg8_read(&sdregs->ctl1);
     201        ctl = ctl & ~BIT_V(uint8_t, sdctl1_srst);
     202        hda_reg8_write(&sdregs->ctl1, ctl);
     203
     204        async_usleep(100 * 1000);
    205205}
    206206
Note: See TracChangeset for help on using the changeset viewer.