Ignore:
Timestamp:
May 1, 2010, 9:49:10 PM (16 years ago)
Author:
David Azarewicz
Message:

Cleanup compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/pci/hda/hda_codec.c

    r464 r479  
    432432 * process queued unsolicited events
    433433 */
     434#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
    434435static void process_unsol_events(struct work_struct *work)
    435436{
     
    453454        }
    454455}
     456#endif
    455457
    456458/*
     
    615617                return NULL; /* use the generic parser */
    616618
     619#ifndef TARGET_OS2
    617620 again:
     621#endif
    618622        mutex_lock(&preset_mutex);
    619623        list_for_each_entry(tbl, &hda_preset_tables, list, struct hda_codec_preset_list) {
     
    25012505                if (err < 0) {
    25022506                        printk(KERN_ERR "hda_codec: cannot build controls"
    2503                                "for #%d (error %d)\n", codec->addr, err); 
     2507                               "for #%d (error %d)\n", codec->addr, err);
    25042508                        err = snd_hda_codec_reset(codec);
    25052509                        if (err < 0) {
     
    29632967                if (err < 0) {
    29642968                        printk(KERN_ERR "hda_codec: cannot build PCMs"
    2965                                "for #%d (error %d)\n", codec->addr, err); 
     2969                               "for #%d (error %d)\n", codec->addr, err);
    29662970                        err = snd_hda_codec_reset(codec);
    29672971                        if (err < 0) {
     
    34003404        /* turn off SPDIF once; otherwise the IEC958 bits won't be updated */
    34013405        if (codec->spdif_status_reset && (codec->spdif_ctls & AC_DIG1_ENABLE))
    3402                 set_dig_out_convert(codec, nid, 
     3406                set_dig_out_convert(codec, nid,
    34033407                                    codec->spdif_ctls & ~AC_DIG1_ENABLE & 0xff,
    34043408                                    -1);
     
    36603664 * output, i.e. to line_out_pins[0].  So, line_outs is always positive
    36613665 * if any analog output exists.
    3662  * 
     3666 *
    36633667 * The analog input pins are assigned to input_pins array.
    36643668 * The digital input/output pins are assigned to dig_in_pin and dig_out_pin,
Note: See TracChangeset for help on using the changeset viewer.