[alsa-devel] [PATCH] SoC: intel: byt: Introduce new custom IN2 map
Pierre-Louis Bossart
pierre-louis.bossart at linux.intel.com
Tue Nov 21 16:12:16 CET 2017
On 11/21/17 3:30 AM, Carlo Caione wrote:
> On Thu, Nov 16, 2017 at 1:53 PM, Carlo Caione <carlo at caione.org> wrote:
>> On Wed, Oct 18, 2017 at 7:05 PM, Pierre-Louis Bossart
>> <pierre-louis.bossart at linux.intel.com> wrote:
>>> On 10/18/17 11:49 AM, Carlo Caione wrote:
>>>>
>>>> From: Carlo Caione <carlo at endlessm.com>
>>>>
>>>> Introduce a new custom dapm routes map to quirk platforms with the
>>>> internal mic connected to IN2P.
>>>
>>>
>>> LGTM. If we start getting more quirks for this codec, we should think of
>>> adding a module parameters to select them from the command line or with
>>> modprobe (as done in other machine drivers).
>>
>> Hey Pierre,
>> I'm currently working on a laptop (always with the rt5651 codec)
>> having two separate internal mics (on IN1P and IN2P) and the headset
>> on IN3P. I was thinking how to describe this situation in the current
>> driver without having to add all the 6 different configuration as
>> quirks. Any suggestion?
The microphone configurations are not handled with a mask but an enum
and the BYT_RT5651_MAP() macro. You can just add a new configuration
such at BYT_RT5651_IN1_IN2 which uses the analog mics on those two and
implicitly use IN3 for the headset. I don't see the point of handling
all possible permutations at this point.
More information about the Alsa-devel
mailing list