[alsa-devel] [PATCH] ALSA: HDA: Fix jack creation for codecs with front and rear Line In

David Henningsson david.henningsson at canonical.com
Tue Jan 31 11:18:38 CET 2012


On 01/31/2012 09:29 AM, Raymond Yau wrote:
> 2012/1/31, David Henningsson<david.henningsson at canonical.com>:
>> If a codec has both a front and a rear Line In, two controls both
>> named "Line Jack" will be created, which causes parsing to fail.
>> While a long term solution might be to name the jacks differently,
>> this extra check is consistent with what is already being done in many
>> auto-parsers, and will also protect against other cases when two
>> inputs have the same label.
>>
>> BugLink: https://bugs.launchpad.net/bugs/923409
>> Signed-off-by: David Henningsson<david.henningsson at canonical.com>
>> ---
>
> I have doubt since most of ad1988 6stack-dig quirks have two Line In (
> one is ext front and the other is int ATAPI and the "Input Source"
> controls are broken

Well, it won't fix any "Input Source" controls, of course. Only jack 
creation later, assuming you have your autocfg struct set up correctly.


-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic


More information about the Alsa-devel mailing list