Re: [alsa-devel] [PATCH] add the nvidia HDMI codec driver for MCP77/79

From: Pavel Hofman
Date: Thu Sep 04 2008 - 02:51:49 EST



......
According to these codes, It only can get the realtek codec and can not
get hdmi codec, if just change azx_max_codecs[AZX_DRIVER_NVIDIA] to 4
I think if remove "if (!audio_codecs)", it will be better, and I only
need to chang azx_max_codecs[AZX_DRIVER_NVIDIA] to 4

Well, the check is there for a good reason.

There are many machines with broken BIOS reporting the 4th slot
available although it isn't actually. It's a workaround to skip such
a bogus information. So, it cannot be changed so easily.

We need to sort out this in a better way... Oh well.


Please, please, put the above information as a comment to the respective place. These "hacks" should be commented :)

Thanks a lot,

Pavel.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/