Changeset 3fafe5e0 in mainline for uspace/drv/audio
- Timestamp:
- 2018-04-27T14:15:03Z (7 years ago)
- 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)
- Location:
- uspace/drv/audio/hdaudio
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/hdaudio/codec.c
ra2eb85d r3fafe5e0 129 129 return rc; 130 130 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); 132 132 *longform = resp & BIT_V(uint32_t, cll_longform); 133 133 *items = resp & BIT_RANGE_EXTRACT(uint32_t, cll_len_h, cll_len_l, resp); … … 238 238 uint32_t *resp) 239 239 { 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); 242 242 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); 245 245 return rc; 246 246 } … … 254 254 static errno_t hda_set_amp_gain_mute(hda_codec_t *codec, int node, uint16_t payload) 255 255 { 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); 258 258 return hda_ccmd(codec, node, hda_amp_gain_mute_set, payload, NULL); 259 259 } … … 362 362 } 363 363 364 // ddf_msg(LVL_NOTE, "longform:%d len:%d", longform, len);364 ddf_msg(LVL_DEBUG2, "longform:%d len:%d", longform, len); 365 365 366 366 if (longform) { -
uspace/drv/audio/hdaudio/hdactl.c
ra2eb85d r3fafe5e0 644 644 rc = hda_rirb_read(ctl->hda, &resp); 645 645 if (rc != EOK) { 646 // ddf_msg(LVL_NOTE, "nothing in rirb");646 ddf_msg(LVL_DEBUG2, "nothing in rirb"); 647 647 break; 648 648 } -
uspace/drv/audio/hdaudio/hdaudio.c
ra2eb85d r3fafe5e0 374 374 if (0) 375 375 ddf_msg(LVL_NOTE, "## interrupt ##"); 376 // ddf_msg(LVL_NOTE, "interrupt arg4=0x%x", (int)IPC_GET_ARG4(*icall));377 376 hda_ctl_interrupt(hda->ctl); 378 377 -
uspace/drv/audio/hdaudio/stream.c
ra2eb85d r3fafe5e0 56 56 hda_stream_buffers_t *bufs = NULL; 57 57 size_t i; 58 //size_t j, k;58 //size_t j, k; 59 59 errno_t rc; 60 60
Note:
See TracChangeset
for help on using the changeset viewer.