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


Ignore:
Timestamp:
2019-12-15T11:57:25Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9e45a41
Parents:
894afff
Message:

Fix logging level of HD Audio driver messages

File:
1 edited

Legend:

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

    r894afff rcf78637  
    101101                        goto error;
    102102
    103                 ddf_msg(LVL_NOTE, "Stream buf phys=0x%llx virt=%p",
     103                ddf_msg(LVL_DEBUG, "Stream buf phys=0x%llx virt=%p",
    104104                    (unsigned long long)buffer_phys, buffer);
    105105
     
    123123            0, &buffer_phys, &buffer);
    124124        if (rc != EOK) {
    125                 ddf_msg(LVL_NOTE, "dmamem_map_anon -> %s", str_error_name(rc));
     125                ddf_msg(LVL_DEBUG, "dmamem_map_anon -> %s", str_error_name(rc));
    126126                goto error;
    127127        }
     
    131131                bufs->buf_phys[i] = buffer_phys + i * bufs->bufsize;
    132132
    133                 ddf_msg(LVL_NOTE, "Stream buf phys=0x%llx virt=%p",
     133                ddf_msg(LVL_DEBUG, "Stream buf phys=0x%llx virt=%p",
    134134                    (long long unsigned)(uintptr_t)bufs->buf[i],
    135135                    (void *)bufs->buf_phys[i]);
     
    246246        stream->buffers = bufs;
    247247
    248         ddf_msg(LVL_NOTE, "snum=%d sdidx=%d", stream->sid, stream->sdid);
    249 
    250         ddf_msg(LVL_NOTE, "Configure stream descriptor");
     248        ddf_msg(LVL_DEBUG, "snum=%d sdidx=%d", stream->sid, stream->sdid);
     249
     250        ddf_msg(LVL_DEBUG, "Configure stream descriptor");
    251251        hda_stream_desc_configure(stream);
    252252        return stream;
     
    255255void hda_stream_destroy(hda_stream_t *stream)
    256256{
    257         ddf_msg(LVL_NOTE, "hda_stream_destroy()");
     257        ddf_msg(LVL_DEBUG, "hda_stream_destroy()");
    258258        hda_stream_reset_noinit(stream);
    259259        free(stream);
     
    262262void hda_stream_start(hda_stream_t *stream)
    263263{
    264         ddf_msg(LVL_NOTE, "hda_stream_start()");
     264        ddf_msg(LVL_DEBUG, "hda_stream_start()");
    265265        hda_stream_set_run(stream, true);
    266266}
     
    268268void hda_stream_stop(hda_stream_t *stream)
    269269{
    270         ddf_msg(LVL_NOTE, "hda_stream_stop()");
     270        ddf_msg(LVL_DEBUG, "hda_stream_stop()");
    271271        hda_stream_set_run(stream, false);
    272272}
     
    274274void hda_stream_reset(hda_stream_t *stream)
    275275{
    276         ddf_msg(LVL_NOTE, "hda_stream_reset()");
     276        ddf_msg(LVL_DEBUG, "hda_stream_reset()");
    277277        hda_stream_reset_noinit(stream);
    278278        hda_stream_desc_configure(stream);
Note: See TracChangeset for help on using the changeset viewer.