Changeset d15797d in mainline for uspace/drv/audio/sb16/main.c


Ignore:
Timestamp:
2017-10-08T20:34:35Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
53a309e
Parents:
2fd26bb
Message:

Remove unnecessary references to devman.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/main.c

    r2fd26bb rd15797d  
    3737#include <ddf/log.h>
    3838#include <device/hw_res_parsed.h>
    39 #include <devman.h>
    4039#include <assert.h>
    4140#include <stdio.h>
     
    180179        assert(device);
    181180
    182         async_sess_t *parent_sess = devman_parent_device_connect(
    183             ddf_dev_get_handle(device), IPC_FLAG_BLOCKING);
    184         if (!parent_sess)
     181        async_sess_t *parent_sess = ddf_dev_parent_sess_get(device);
     182        if (parent_sess == NULL)
    185183                return ENOMEM;
    186184
     
    247245int sb_enable_interrupts(ddf_dev_t *device)
    248246{
    249         async_sess_t *parent_sess = devman_parent_device_connect(
    250             ddf_dev_get_handle(device), IPC_FLAG_BLOCKING);
    251         if (!parent_sess)
     247        async_sess_t *parent_sess = ddf_dev_parent_sess_get(device);
     248        if (parent_sess == NULL)
    252249                return ENOMEM;
    253250
Note: See TracChangeset for help on using the changeset viewer.