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


Ignore:
Timestamp:
2018-07-13T14:10:15Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e3787a0
Parents:
9912f49
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-13 14:08:57)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-13 14:10:15)
Message:

Sleep is more natural as part of the fibril API.
(the implementation will move later)

File:
1 edited

Legend:

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

    r9912f49 r5f97ef44  
    206206        hda_reg8_write(&sdregs->ctl1, ctl);
    207207
    208         async_usleep(100 * 1000);
     208        fibril_usleep(100 * 1000);
    209209
    210210        ctl = hda_reg8_read(&sdregs->ctl1);
     
    212212        hda_reg8_write(&sdregs->ctl1, ctl);
    213213
    214         async_usleep(100 * 1000);
     214        fibril_usleep(100 * 1000);
    215215}
    216216
Note: See TracChangeset for help on using the changeset viewer.