Changeset 3fafe5e0 in mainline for uspace/drv/audio


Ignore:
Timestamp:
2018-04-27T14:15:03Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7148abf
Parents:
a2eb85d
git-author:
Jiri Svoboda <jiri@…> (2018-04-26 17:14:26)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-27 14:15:03)
Message:

Fix incorrectly indented double-slash comments.

Location:
uspace/drv/audio/hdaudio
Files:
4 edited

Legend:

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

    ra2eb85d r3fafe5e0  
    129129                return rc;
    130130
    131 //      ddf_msg(LVL_NOTE, "hda_get_clist_len: resp=0x%x", resp);
     131        ddf_msg(LVL_DEBUG2, "hda_get_clist_len: resp=0x%x", resp);
    132132        *longform = resp & BIT_V(uint32_t, cll_longform);
    133133        *items = resp & BIT_RANGE_EXTRACT(uint32_t, cll_len_h, cll_len_l, resp);
     
    238238    uint32_t *resp)
    239239{
    240 //      ddf_msg(LVL_NOTE, "hda_get_amp_gain_mute(codec, %d, %x)",
    241 //          node, payload);
     240        ddf_msg(LVL_DEBUG2, "hda_get_amp_gain_mute(codec, %d, %x)",
     241            node, payload);
    242242        errno_t rc = hda_ccmd(codec, node, hda_amp_gain_mute_get, payload, resp);
    243 //      ddf_msg(LVL_NOTE, "hda_get_amp_gain_mute(codec, %d, %x, resp=%x)",
    244 //          node, payload, *resp);
     243        ddf_msg(LVL_DEBUG2, "hda_get_amp_gain_mute(codec, %d, %x, resp=%x)",
     244            node, payload, *resp);
    245245        return rc;
    246246}
     
    254254static errno_t hda_set_amp_gain_mute(hda_codec_t *codec, int node, uint16_t payload)
    255255{
    256 //      ddf_msg(LVL_NOTE, "hda_set_amp_gain_mute(codec, %d, %x)",
    257 //          node, payload);
     256        ddf_msg(LVL_DEBUG2, "hda_set_amp_gain_mute(codec, %d, %x)",
     257            node, payload);
    258258        return hda_ccmd(codec, node, hda_amp_gain_mute_set, payload, NULL);
    259259}
     
    362362        }
    363363
    364 //      ddf_msg(LVL_NOTE, "longform:%d len:%d", longform, len);
     364        ddf_msg(LVL_DEBUG2, "longform:%d len:%d", longform, len);
    365365
    366366        if (longform) {
  • uspace/drv/audio/hdaudio/hdactl.c

    ra2eb85d r3fafe5e0  
    644644                rc = hda_rirb_read(ctl->hda, &resp);
    645645                if (rc != EOK) {
    646 //                      ddf_msg(LVL_NOTE, "nothing in rirb");
     646                        ddf_msg(LVL_DEBUG2, "nothing in rirb");
    647647                        break;
    648648                }
  • uspace/drv/audio/hdaudio/hdaudio.c

    ra2eb85d r3fafe5e0  
    374374        if (0)
    375375                ddf_msg(LVL_NOTE, "## interrupt ##");
    376 //      ddf_msg(LVL_NOTE, "interrupt arg4=0x%x", (int)IPC_GET_ARG4(*icall));
    377376        hda_ctl_interrupt(hda->ctl);
    378377
  • uspace/drv/audio/hdaudio/stream.c

    ra2eb85d r3fafe5e0  
    5656        hda_stream_buffers_t *bufs = NULL;
    5757        size_t i;
    58 //      size_t j, k;
     58        //size_t j, k;
    5959        errno_t rc;
    6060
Note: See TracChangeset for help on using the changeset viewer.