Re: [Intel-gfx] [PATCH 4/4] ALSA: hda - Add display audio routing API for haswell

2013-06-17 Thread Wang, Xingchao
> -Original Message- > From: Takashi Iwai [mailto:ti...@suse.de] > Sent: Monday, June 17, 2013 5:04 PM > To: Wang Xingchao > Cc: daniel.vet...@ffwll.ch; alsa-de...@alsa-project.org; > intel-gfx@lists.freedesktop.org; david.hennings...@canonical.com; Wang, > Xingchao > Subject: Re: [PATCH 4

Re: [Intel-gfx] [PATCH 4/4] ALSA: hda - Add display audio routing API for haswell

2013-06-17 Thread Takashi Iwai
At Fri, 14 Jun 2013 23:20:29 +0800, Wang Xingchao wrote: > > ALSA side use these apis to know display audio routing map > in gfx side. And use the API to disable unused pin's audio output. Adding more and more such exported functions doesn't look scaling. Better to define an ops struct and export

[Intel-gfx] [PATCH 4/4] ALSA: hda - Add display audio routing API for haswell

2013-06-14 Thread Wang Xingchao
ALSA side use these apis to know display audio routing map in gfx side. And use the API to disable unused pin's audio output. Signed-off-by: Wang Xingchao --- sound/pci/hda/hda_i915.c | 83 ++ sound/pci/hda/hda_i915.h | 4 +++ sound/pci/hda/patch_