summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_controller.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-07-15 15:27:19 +0200
committerTakashi Iwai <tiwai@suse.de>2014-07-15 15:28:43 +0200
commit1618e84aa87af94b46921b265b68bb7994571c20 (patch)
tree0ee428edbcd6e1a49abe72767850997e6adfec1c /sound/pci/hda/hda_controller.c
parent03fe805a098422d27cbbbad29a54ff1349da3622 (diff)
parent4da63c6fc426023d1a20e45508c47d7d68c6a53d (diff)
Merge branch 'for-linus' into for-next
Since init_failed flag was moved to struct hda_intel, its access in the commit [4da63c6f: ALSA: hda - Fix broken PM due to incomplete i915 initialization] is also replaced with hda->init_failed appropriately.
Diffstat (limited to 'sound/pci/hda/hda_controller.c')
-rw-r--r--sound/pci/hda/hda_controller.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c
index 06f39c126ba4..8337645aa7a5 100644
--- a/sound/pci/hda/hda_controller.c
+++ b/sound/pci/hda/hda_controller.c
@@ -194,7 +194,8 @@ azx_assign_device(struct azx *chip, struct snd_pcm_substream *substream)
dsp_unlock(azx_dev);
return azx_dev;
}
- if (!res)
+ if (!res ||
+ (chip->driver_caps & AZX_DCAPS_REVERSE_ASSIGN))
res = azx_dev;
}
dsp_unlock(azx_dev);