Changeset 733


Ignore:
Timestamp:
Sep 18, 2022, 12:08:15 AM (3 years ago)
Author:
Paul Smedley
Message:

Minor code cleanups

Location:
GPL/branches/uniaud32-next
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/alsa-kernel/core/pcm_memory.c

    r721 r733  
    491491                vfree(runtime->dma_area);
    492492        }
    493 #ifndef TARGET_OS2
    494493        runtime->dma_area = __vmalloc(size, gfp_flags);
    495 #else
    496         runtime->dma_area = vmalloc(size);
    497 #endif
    498494        if (!runtime->dma_area)
    499495                return -ENOMEM;
  • GPL/branches/uniaud32-next/alsa-kernel/pci/hda/hda_bind.c

    r730 r733  
    238238static void codec_bind_module(struct hda_codec *codec)
    239239{
    240 #ifdef MODULE
     240//#ifdef MODULE
    241241        request_codec_module(codec);
    242242        if (codec_probed(codec))
    243243                return;
    244 #endif
     244//#endif
    245245}
    246246
     
    327327                err = codec_bind_generic(codec);
    328328                if (err < 0) {
    329                         codec_dbg(codec, "Unable to bind the codec\n");
     329                        codec_dbg(codec, "Unable to bind the codec - err = %d\n",err);
    330330                        return err;
    331331                }
  • GPL/branches/uniaud32-next/alsa-kernel/pci/hda/patch_realtek.c

    r725 r733  
    1252812528                goto error;
    1252912529
    12530 #ifndef TARGET_OS2
    1253112530        if (!spec->gen.no_analog && spec->gen.beep_nid) {
    1253212531                switch (codec->core.vendor_id) {
     
    1254712546                        goto error;
    1254812547        }
    12549 #endif
     12548
    1255012549        snd_hda_apply_fixup(codec, HDA_FIXUP_ACT_PROBE);
    1255112550
  • GPL/branches/uniaud32-next/lib32/driver.c

    r718 r733  
    714714{
    715715        int ret = 0;
     716rprintf(("device_attach"));
    716717        device_lock(dev);
    717718        if (dev->driver) {
Note: See TracChangeset for help on using the changeset viewer.