Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp23112pxb; Wed, 30 Mar 2022 21:48:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDuOQVodOnAItFn0jc/kiRwiF6gdJh1YVbTbmkKpDU6SilRTBwYl2NkolKCnoVoLcVcdEl X-Received: by 2002:a17:90a:e7c8:b0:1c6:c3ac:893b with SMTP id kb8-20020a17090ae7c800b001c6c3ac893bmr3909176pjb.122.1648702105275; Wed, 30 Mar 2022 21:48:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648702105; cv=none; d=google.com; s=arc-20160816; b=g8bIib3B7EjRMNDCuWQUFe1uYbQpxlpmXrM5/Xv548j+NYl8O4ig7EiC0gvB7svdaw VMWQB9zxC/tybL7T38XprCnP5MKfAoT3eDcIrJiDcK3W91KaHt5baoSzpXK/BziHwiTP vA0omzOBy2kb2Ie7rksenG/73tR5H3TFyBmadGEiGh8MzYIIohdwDAPF6l+djGkKUcyO yhgR3m9VHhOWIQNbhTpk+GsRHgGmPNC71w4ytMGVYFsho4GrXdxE25VKtGmdYm/6FrK7 f/5yqeLZnhHq6p7py9B3FQQbEZLzfjdk0MSR8X0sZBsvTBVI0JLSAigHPfCRKoRlh9hB rDjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UjCW3oYf0iVmzZNbd9WEAdDRS6ovk06o7uqZPizxmks=; b=g1NGnBw7/k2C9aO3YpvlADaDiqps00wQit0abcuHYqLNiTA+cIR/VsNS5xcrilsaaj +486i4mpcYJtRFcc5w1sZXBEfp1Kd9/zZGssZ/O3DSSk85YSb/ina+YCA59wqFl7EYsB NBP9/bjKnkCXIiIvJCLJTsmjo2hvtNHKzve4Pul4wp63rbSP1hos9KRZYPDRONUkPVJM 8mLm8MkE/MNePPHxH7ePNYNZW2UdgI5kyYzRnCmM9FBZU4hEBX2+8hqdjkLyZvtcjmW+ WNDthU3QH4dVZrTlNyLCEwNET+UbjVirvfX130A0q6XsIdDpHpQDxYthpMFZxj5zeG4W MeLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MyYCKV4t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i11-20020aa78d8b000000b004fa3a8e0066si21164188pfr.285.2022.03.30.21.48.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 21:48:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MyYCKV4t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 919F41F42C3; Wed, 30 Mar 2022 20:28:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235908AbiC3MAx (ORCPT + 99 others); Wed, 30 Mar 2022 08:00:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344734AbiC3Lxa (ORCPT ); Wed, 30 Mar 2022 07:53:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B356226E55E; Wed, 30 Mar 2022 04:49:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9CA6661624; Wed, 30 Mar 2022 11:49:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04D64C340F3; Wed, 30 Mar 2022 11:49:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648640968; bh=BIereeSl8OOvQHyMUSmTZlEVrUWpAJuLOWV5juCjHcQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MyYCKV4tJuuvnrEfwf+StS8ubhVcry2Sh9TCHJBGx8defkQS4ceC4egRLsuFUV3pY EIVexgaW6naemHwGinhDy+9HcPs11pmDfiqpW/mpvoB46PwWy10KQDXqxt6m0pAc6g HbG6RdNjzpAFXrbyN5oGjdvQ1jUgF8NH5aERWxOIKIZyL5fGdvB7Tcc3NjPabykVYI LgdIkXzzj9Z8KMNyznjuc+3k8Q5uzQDjyPUO9opre90m/yud2ElMQPFp1RFFQAhwAG L7+ntx0Ehffi5rALNwarlZvnc9o4Cri89luVy69UIniCxgTMZJWLe2XO645bz0G3O/ RvTlULHjHy8nQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , Mark Brown , Sasha Levin , lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.16 36/59] ASoC: Intel: sof_es8336: add quirk for Huawei D15 2021 Date: Wed, 30 Mar 2022 07:48:08 -0400 Message-Id: <20220330114831.1670235-36-sashal@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220330114831.1670235-1-sashal@kernel.org> References: <20220330114831.1670235-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mauro Carvalho Chehab [ Upstream commit ce6a70bfce21bb4edb7c0f29ecfb0522fa34ab71 ] Huawei D15 uses SSP_CODEC(0). Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab Link: https://lore.kernel.org/r/d560a1c76edb633c37acf04a9a82518b6233a719.1640351150.git.mchehab@kernel.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/sof_es8336.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c index 20d577eaab6d..e6d599f0cd26 100644 --- a/sound/soc/intel/boards/sof_es8336.c +++ b/sound/soc/intel/boards/sof_es8336.c @@ -247,6 +247,14 @@ static const struct dmi_system_id sof_es8336_quirk_table[] = { SOF_ES8336_TGL_GPIO_QUIRK | SOF_ES8336_ENABLE_DMIC) }, + { + .callback = sof_es8336_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HUAWEI"), + DMI_MATCH(DMI_BOARD_NAME, "BOHB-WAX9-PCB-B2"), + }, + .driver_data = (void *)SOF_ES8336_SSP_CODEC(0) + }, {} }; -- 2.34.1