RE: [alsa-devel] [PATCH]Support MCP89 and GT21x hdmi audio

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Wei Ni
Date: Tuesday, March 2, 2010 - 2:43 am

Hi, Takashi
1. About AZX_MAX_CODECS, on our new chipset, the codec_mask=0x31, it means
the codec connect on the slot0, slot4, slot5, and on some GT2xx, the codec
will connect to slot6 or slot7, although these chip at most have 4 codecs.
So I change the AZX_MAX_CODECS to 8 directly.
In hda_intel.c, the azx_command_addr(), azx_response_addr(), and
azx_codec_create() use the AZX_MAX_CODECS, if it set as 4, the driver will
not detect the codecs which connect to slot4~7.

2. yes, it's better to merge the hdmi common codes.

3. About ELD, yes, we need to change the Makefile and Kconfig as well.
Could you help me to change it.

Thanks
Wei.

-----Original Message-----
From: Takashi Iwai [mailto:tiwai@suse.de] 
Sent: Tuesday, March 02, 2010 4:00 PM
To: Wei Ni
Cc: 'Pavel Hofman'; 'alsa-devel'; 'linux-kernel'; 'akpm'
Subject: Re: [alsa-devel] [PATCH]Support MCP89 and GT21x hdmi audio

At Mon, 1 Mar 2010 19:27:53 +0800,
Wei Ni wrote:

Thanks.  A brief review comments below.



Changing this blindly to all codecs seems a bit dangerous.
We have bad experiences regarding the codec probing, and probing more
codec slots may result in unexpected behavior with the older chip.

Do you know which controller chip supports more than 4 slots?
 

...

Let's merge the stuff with patch_intelhdmi.c later...



So, now this module depends on the ELD helper?
Then we need to change Makefile and Kconfig as well.
Right now, the eld helper is built into intel-hdmi module.  Now this
is needed to be individual or built-in snd-hda-codec.


thanks,

Takashi
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [alsa-devel] [PATCH]Support MCP89 and GT21x hdmi audio, Wei Ni, (Tue Mar 2, 2:43 am)
Re: [alsa-devel] [PATCH]Support MCP89 and GT21x hdmi audio, Jaroslav Kysela, (Wed Mar 10, 12:58 am)
Re: [alsa-devel] [PATCH]Support MCP89 and GT21x hdmi audio, Jaroslav Kysela, (Thu Mar 11, 12:30 am)
Re: [alsa-devel] [PATCH]Support MCP89 and GT21x hdmi audio, Jaroslav Kysela, (Thu Mar 11, 11:32 am)