Ignore:
Timestamp:
Apr 19, 2025, 8:08:37 PM (4 months ago)
Author:
David Azarewicz
Message:

Merge in changes from 6.6-LTS branch.
Fixed additional 25+ problems.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

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

    r717 r772  
    212212 * Returns the size of string, like snprintf(), or a negative error code.
    213213 */
    214 int snd_hdac_codec_modalias(struct hdac_device *codec, char *buf, size_t size)
     214int snd_hdac_codec_modalias(const struct hdac_device *codec, char *buf, size_t size)
    215215{
    216216        return scnprintf(buf, size, "hdaudio:v%08Xr%08Xa%02X\n",
     
    623623#if 0 //fixme
    624624        if (!atomic_inc_not_zero(&codec->in_pm)) {
    625                 int ret = pm_runtime_get_if_in_use(&codec->dev);
     625                int ret = pm_runtime_get_if_active(&codec->dev, true);
    626626                if (!ret)
    627627                        return -1;
     
    660660
    661661static const struct hda_vendor_id hda_vendor_ids[] = {
     662        { 0x0014, "Loongson" },
    662663        { 0x1002, "ATI" },
    663664        { 0x1013, "Cirrus Logic" },
Note: See TracChangeset for help on using the changeset viewer.