Changeset 669


Ignore:
Timestamp:
Jan 30, 2021, 7:33:44 AM (5 years ago)
Author:
Paul Smedley
Message:

Code cleanups

Location:
GPL/branches/uniaud32-next/alsa-kernel/pci/hda
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/alsa-kernel/pci/hda/hda_bind.c

    r638 r669  
    1616#include "hda_local.h"
    1717
    18 // 2020-11-17 SHL
    19 #include <../../../lib32/internal.h>
    2018#pragma disable_message (201)
    2119
     
    4038                }
    4139        }
     40
    4241        return 0;
    4342}
     
    102101        if (err < 0)
    103102                goto error;
    104 
    105103        err = snd_hdac_regmap_init(&codec->core);
    106104        if (err < 0)
     
    132130                snd_hda_codec_register(codec);
    133131        }
     132
    134133        codec->core.lazy_cache = true;
    135 
    136134        return 0;
    137135
     
    308306        else
    309307                codec->probe_id = 0;
     308
    310309        err = snd_hdac_device_register(&codec->core);
    311310        if (err < 0)
     
    321320                }
    322321        }
     322
    323323        return 0;
    324324
  • GPL/branches/uniaud32-next/alsa-kernel/pci/hda/hda_codec.c

    r668 r669  
    77
    88#include <linux/init.h>
    9 #ifdef TARGET_OS2
    10 #include <linux/time.h>
    11 #include <linux/mm.h>
    12 #endif
    139#include <linux/delay.h>
    1410#include <linux/slab.h>
     
    629625EXPORT_SYMBOL_GPL(snd_hda_shutup_pins);
    630626
    631 // 2020-11-17 SHL
    632 #include <../../../lib32/internal.h>
    633 
    634 
    635627#ifdef CONFIG_PM
    636628/* Restore the pin controls cleared previously via snd_hda_shutup_pins() */
     
    752744        pcm->name = kvasprintf(GFP_KERNEL, fmt, args);
    753745        va_end(args);
    754 
    755746        if (!pcm->name) {
    756747                kfree(pcm);
     
    759750
    760751        list_add_tail(&pcm->list, &codec->pcm_list_head);
    761 
    762752        return pcm;
    763753}
     
    23182308{
    23192309        const hda_nid_t *d;
     2310
    23202311        snd_hdac_regmap_update(&codec->core, nid, AC_VERB_SET_DIGI_CONVERT_1,
    23212312                               mask, val);
     
    30993090{
    31003091        int err = 0;
    3101 
    31023092        hda_exec_init_verbs(codec);
    31033093        /* continue to initialize... */
Note: See TracChangeset for help on using the changeset viewer.