Skip to content

Commit

Permalink
Merge branch 'for-linus' into for-next
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Takashi Iwai committed Jun 11, 2015
2 parents 692af90 + bf06848 commit 4af88a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions sound/hda/hdac_regmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1987,7 +1987,7 @@ static int azx_probe_continue(struct azx *chip)

err = snd_hdac_i915_init(bus);
if (err < 0)
goto i915_power_fail;
goto skip_i915;

err = snd_hdac_display_power(bus, true);
if (err < 0) {
Expand All @@ -1997,6 +1997,7 @@ static int azx_probe_continue(struct azx *chip)
}
}

skip_i915:
err = azx_first_init(chip);
if (err < 0)
goto out_free;
Expand Down

0 comments on commit 4af88a9

Please sign in to comment.