Changeset e8975278 in mainline for uspace/drv/audio/hdaudio/codec.c


Ignore:
Timestamp:
2018-05-10T15:14:02Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
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)
Message:

A few more cstyle fixes.

File:
1 edited

Legend:

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

    rae7d03c re8975278  
    6767        }
    6868        errno_t rc = hda_cmd(codec->hda, verb, resp);
    69 /*
     69
     70#if 0
    7071        if (resp != NULL) {
    7172                ddf_msg(LVL_NOTE, "verb 0x%" PRIx32 " -> 0x%" PRIx32, verb,
     
    7475                ddf_msg(LVL_NOTE, "verb 0x%" PRIx32, verb);
    7576        }
    76 */
     77#endif
    7778        return rc;
    7879}
     
    448449        }
    449450
    450 /*      if ((pcaps & BIT_V(uint32_t, pwc_input)) != 0) {
     451#if 0
     452        if ((pcaps & BIT_V(uint32_t, pwc_input)) != 0) {
    451453                ddf_msg(LVL_NOTE, "PIN %d will enable input");
    452                 pctl = pctl | BIT_V(uint8_t, pctl_input_enable);
    453         }
    454 */
     454                pctl = pctl | BIT_V(uint8_t, pctl_input_enable);
     455        }
     456#endif
    455457        ddf_msg(LVL_NOTE, "Setting PIN %d ctl to 0x%x", aw, pctl);
    456458        rc = hda_set_pin_ctl(codec, aw, pctl);
Note: See TracChangeset for help on using the changeset viewer.