Changeset 1433ecda in mainline for uspace/drv/audio/hdaudio


Ignore:
Timestamp:
2018-04-04T15:42:37Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

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

Legend:

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

    r47b2d7e3 r1433ecda  
    435435        if ((pcaps & BIT_V(uint32_t, pwc_output)) != 0) {
    436436                ddf_msg(LVL_NOTE, "PIN %d will enable output", aw);
    437                 pctl = pctl | BIT_V(uint8_t, pctl_out_enable);
     437                pctl = pctl | BIT_V(uint8_t, pctl_out_enable);
    438438        }
    439439
    440440        if ((pcaps & BIT_V(uint32_t, pwc_input)) != 0) {
    441441                ddf_msg(LVL_NOTE, "PIN %d will enable input", aw);
    442                 pctl = pctl | BIT_V(uint8_t, pctl_in_enable);
     442                pctl = pctl | BIT_V(uint8_t, pctl_in_enable);
    443443        }
    444444
    445445        if ((pcaps & BIT_V(uint32_t, pwc_hpd)) != 0) {
    446446                ddf_msg(LVL_NOTE, "PIN %d will enable headphone drive", aw);
    447                 pctl = pctl | BIT_V(uint8_t, pctl_hpd_enable);
     447                pctl = pctl | BIT_V(uint8_t, pctl_hpd_enable);
    448448        }
    449449
  • uspace/drv/audio/hdaudio/hdactl.c

    r47b2d7e3 r1433ecda  
    514514        ddf_msg(LVL_NOTE, "reg 0x%zx STATESTS = 0x%x",
    515515            (void *)&hda->regs->statests - (void *)hda->regs,
    516                 hda_reg16_read(&hda->regs->statests));
     516            hda_reg16_read(&hda->regs->statests));
    517517        /**
    518518          * Clear STATESTS bits so they don't generate an interrupt later
     
    523523        ddf_msg(LVL_NOTE, "after clearing reg 0x%zx STATESTS = 0x%x",
    524524            (void *)&hda->regs->statests - (void *)hda->regs,
    525                 hda_reg16_read(&hda->regs->statests));
     525            hda_reg16_read(&hda->regs->statests));
    526526
    527527        gctl = hda_reg32_read(&hda->regs->gctl);
     
    544544
    545545                ddf_msg(LVL_NOTE, "Waiting for controller to initialize.");
    546                 async_usleep(100*1000);
     546                async_usleep(100 * 1000);
    547547                --cnt;
    548548        }
  • uspace/drv/audio/hdaudio/pcm_iface.c

    r47b2d7e3 r1433ecda  
    356356
    357357        if (hda->ev_sess == NULL) {
    358                 if (0) ddf_log_warning("No one listening for event %u", event);
     358                if (0)
     359                        ddf_log_warning("No one listening for event %u", event);
    359360                return;
    360361        }
Note: See TracChangeset for help on using the changeset viewer.