Ignore:
Timestamp:
Aug 21, 2021, 3:35:34 AM (4 years ago)
Author:
David Azarewicz
Message:

Merge changes from next branch.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/hda/hdac_controller.c

    r637 r695  
    655655}
    656656EXPORT_SYMBOL_GPL(snd_hdac_bus_free_stream_pages);
     657
     658/**
     659 * snd_hdac_bus_link_power - power up/down codec link
     660 * @codec: HD-audio device
     661 * @enable: whether to power-up the link
     662 */
     663void snd_hdac_bus_link_power(struct hdac_device *codec, bool enable)
     664{
     665        if (enable)
     666                set_bit(codec->addr, &codec->bus->codec_powered);
     667        else
     668                clear_bit(codec->addr, &codec->bus->codec_powered);
     669}
     670EXPORT_SYMBOL_GPL(snd_hdac_bus_link_power);
Note: See TracChangeset for help on using the changeset viewer.