Changeset e8975278 in mainline for uspace/drv/audio/hdaudio/codec.c
- Timestamp:
- 2018-05-10T15:14:02Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1420cae9
- Parents:
- ae7d03c
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-10 07:53:56)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-10 15:14:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/hdaudio/codec.c
rae7d03c re8975278 67 67 } 68 68 errno_t rc = hda_cmd(codec->hda, verb, resp); 69 /* 69 70 #if 0 70 71 if (resp != NULL) { 71 72 ddf_msg(LVL_NOTE, "verb 0x%" PRIx32 " -> 0x%" PRIx32, verb, … … 74 75 ddf_msg(LVL_NOTE, "verb 0x%" PRIx32, verb); 75 76 } 76 */ 77 #endif 77 78 return rc; 78 79 } … … 448 449 } 449 450 450 /* if ((pcaps & BIT_V(uint32_t, pwc_input)) != 0) { 451 #if 0 452 if ((pcaps & BIT_V(uint32_t, pwc_input)) != 0) { 451 453 ddf_msg(LVL_NOTE, "PIN %d will enable input"); 452 453 } 454 */ 454 pctl = pctl | BIT_V(uint8_t, pctl_input_enable); 455 } 456 #endif 455 457 ddf_msg(LVL_NOTE, "Setting PIN %d ctl to 0x%x", aw, pctl); 456 458 rc = hda_set_pin_ctl(codec, aw, pctl);
Note:
See TracChangeset
for help on using the changeset viewer.