aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-06-11 00:52:31 -0400
committerTakashi Iwai <tiwai@suse.de>2015-06-11 00:52:31 -0400
commit4af88a9c1ba2d39263eef003ea598c657014e59e (patch)
tree0470cb215c77b91147f23f55c63a733e3628a8cb
parent692af901df615b7783caaccdb287cddf2d7f6059 (diff)
parentbf06848bdbe549175d25d2327ab9f37d4bd556b7 (diff)
Merge branch 'for-linus' into for-next
This merges and resolves the non-trivial conflicts with the recent fix for hda-i915 binding fallback. Conflicts: sound/pci/hda/hda_intel.c Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/hda/hdac_regmap.c3
-rw-r--r--sound/pci/hda/hda_intel.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/sound/hda/hdac_regmap.c b/sound/hda/hdac_regmap.c
index 7371e0c3926f..c4f5e61d4404 100644
--- a/sound/hda/hdac_regmap.c
+++ b/sound/hda/hdac_regmap.c
@@ -265,6 +265,9 @@ static int hda_reg_write(void *context, unsigned int reg, unsigned int val)
265 unsigned int verb; 265 unsigned int verb;
266 int i, bytes, err; 266 int i, bytes, err;
267 267
268 if (codec->caps_overwriting)
269 return 0;
270
268 reg &= ~0x00080000U; /* drop GET bit */ 271 reg &= ~0x00080000U; /* drop GET bit */
269 reg |= (codec->addr << 28); 272 reg |= (codec->addr << 28);
270 verb = get_verb(reg); 273 verb = get_verb(reg);
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 7933fb00da4f..3738363e8ee1 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -1987,7 +1987,7 @@ static int azx_probe_continue(struct azx *chip)
1987 1987
1988 err = snd_hdac_i915_init(bus); 1988 err = snd_hdac_i915_init(bus);
1989 if (err < 0) 1989 if (err < 0)
1990 goto i915_power_fail; 1990 goto skip_i915;
1991 1991
1992 err = snd_hdac_display_power(bus, true); 1992 err = snd_hdac_display_power(bus, true);
1993 if (err < 0) { 1993 if (err < 0) {
@@ -1997,6 +1997,7 @@ static int azx_probe_continue(struct azx *chip)
1997 } 1997 }
1998 } 1998 }
1999 1999
2000 skip_i915:
2000 err = azx_first_init(chip); 2001 err = azx_first_init(chip);
2001 if (err < 0) 2002 if (err < 0)
2002 goto out_free; 2003 goto out_free;