summaryrefslogtreecommitdiff
path: root/sound/hda
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-06-11 06:52:31 +0200
committerTakashi Iwai <tiwai@suse.de>2015-06-11 06:52:31 +0200
commit4af88a9c1ba2d39263eef003ea598c657014e59e (patch)
tree0470cb215c77b91147f23f55c63a733e3628a8cb /sound/hda
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>
Diffstat (limited to 'sound/hda')
-rw-r--r--sound/hda/hdac_regmap.c3
1 files changed, 3 insertions, 0 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)
unsigned int verb;
int i, bytes, err;
+ if (codec->caps_overwriting)
+ return 0;
+
reg &= ~0x00080000U; /* drop GET bit */
reg |= (codec->addr << 28);
verb = get_verb(reg);