Changeset 479 for GPL/trunk/alsa-kernel/pci/hda
- Timestamp:
- May 1, 2010, 9:49:10 PM (16 years ago)
- File:
-
- 1 edited
-
GPL/trunk/alsa-kernel/pci/hda/hda_codec.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/pci/hda/hda_codec.c
r464 r479 432 432 * process queued unsolicited events 433 433 */ 434 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) 434 435 static void process_unsol_events(struct work_struct *work) 435 436 { … … 453 454 } 454 455 } 456 #endif 455 457 456 458 /* … … 615 617 return NULL; /* use the generic parser */ 616 618 619 #ifndef TARGET_OS2 617 620 again: 621 #endif 618 622 mutex_lock(&preset_mutex); 619 623 list_for_each_entry(tbl, &hda_preset_tables, list, struct hda_codec_preset_list) { … … 2501 2505 if (err < 0) { 2502 2506 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); 2504 2508 err = snd_hda_codec_reset(codec); 2505 2509 if (err < 0) { … … 2963 2967 if (err < 0) { 2964 2968 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); 2966 2970 err = snd_hda_codec_reset(codec); 2967 2971 if (err < 0) { … … 3400 3404 /* turn off SPDIF once; otherwise the IEC958 bits won't be updated */ 3401 3405 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, 3403 3407 codec->spdif_ctls & ~AC_DIG1_ENABLE & 0xff, 3404 3408 -1); … … 3660 3664 * output, i.e. to line_out_pins[0]. So, line_outs is always positive 3661 3665 * if any analog output exists. 3662 * 3666 * 3663 3667 * The analog input pins are assigned to input_pins array. 3664 3668 * 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.
