[alsa-devel] [PATCH] Ensure codec patch files are checked for the correct codec ID
launchpad.web at epost.diwic.se
Wed Jun 2 18:40:15 CEST 2010
On 2010-06-02 18:03, Daniel Chen wrote:
> On Wed, Jun 2, 2010 at 11:02 AM, David Henningsson
> <launchpad.web at epost.diwic.se> wrote:
>> This one just popped out when I read the source code - or is there a
>> reason for parsing vendorid and subid without caring about the result?
> Technically it matters little if the codec vendor_id and subsystem_id
> have valid values, because you can override them anyway. Codec address
> is the vital one.
In the individual case, maybe. However, assuming codec vendor and
subsystem are correctly matched, a distro could make a long list of
Codec SSID to model mappings, write down that in the patch file format,
and supply that patch file. One could then add mappings as a minor
distro update without having to recompile the kernel.
More information about the Alsa-devel