ALSA: x86: Use config base depending on the pipe
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 31 Jan 2017 20:16:53 +0000 (14:16 -0600)
committerTakashi Iwai <tiwai@suse.de>
Wed, 1 Feb 2017 15:22:25 +0000 (16:22 +0100)
commit0843e043cf2e5d12a4041efd9c794a213a3ef93b
tree6e57bc91b323100d96d04a5f2145a5695ddd5c28
parent964ca8083c0239b5a729ed08c9f50b6c31ab3a93
ALSA: x86: Use config base depending on the pipe

Now the pipe that is being used is passed over i915 notification, we
can re-setup the relevant register offset depending on pipe assignments
during hotplug.
This allows playback on single port machines such Zotac Pi330 or
dual-port machines such as Dell Wyse 3040 box

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_lpe_audio.c