On 8/25/20 6:50 PM, Ranjani Sridharan wrote:
From: Jaska Uimonen <jaska.uimonen@xxxxxxxxxxxxxxx> Currently the dmic check code supports only devices with 2 or 4 dmics. With other dmic counts the function will return 0. Lately we've seen devices with only 1 dmic thus enable also configurations with 1, and possibly 3, dmics. Add also topology postfix -1ch and -3ch for new dmic configuration. Signed-off-by: Jaska Uimonen <jaska.uimonen@xxxxxxxxxxxxxxx> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx> Signed-off-by: Ranjani Sridharan <ranjani.sridharan@xxxxxxxxxxxxxxx>
we now have multiple reports of devices with a single microphone where audio is broken without this patch, e.g. https://github.com/thesofproject/linux/issues/2451
This patch should be applied to -stable versions all the way to 5.6. It would be desirable for 5.5 and 5.4 as well but it will not apply cleanly. It's be trivial to provide a modified patch for these earlier kernel versions but I don't know what the process might be here?