From patchwork Tue Oct 15 14:01:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Dudikov X-Patchwork-Id: 13836495 Received: from mail-ot1-f44.google.com (mail-ot1-f44.google.com [209.85.210.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 80A091B2196; Tue, 15 Oct 2024 14:01:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729000900; cv=none; b=GrYOvKZmLZyC2n/cfr6Z5Vab+GDOhyPQcp71BUu1NgpOLoN7YL6YYNfj5LpyDuppx4LONxC6wepN6cFl6edE4ABgUJ0CX/J8hCrwwWSL+Fx0b4K2EHplnvfrWVy+0NRf8+mV1pafkqeI1HCAQB9fJPzyEXLf+igNfgNf7Q97tyw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729000900; c=relaxed/simple; bh=N5Gja8hJEy6mbg+GU072T7CfhtpT74yUKbjJvg4sMu8=; h=MIME-Version:From:Date:Message-ID:Subject:To:Content-Type; b=DJhot9VrfFRgsc0k14MKg4jEDAt8ZZgZwjj8JBazEKZ0TwNW7klRWK89tu6lprxb0KBPTka0ZWtvYf+Z0O2XJQI7VbgDTyahpyA7srQ8MHisc3CoHH+sA2zLJYLgTjRu31df+AMbq2YKlTJCD7zhgcu1/nmMWUtqENJz0F8wJ74= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=iJOyu7kR; arc=none smtp.client-ip=209.85.210.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iJOyu7kR" Received: by mail-ot1-f44.google.com with SMTP id 46e09a7af769-715716974baso3164453a34.1; Tue, 15 Oct 2024 07:01:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729000898; x=1729605698; darn=vger.kernel.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=N5Gja8hJEy6mbg+GU072T7CfhtpT74yUKbjJvg4sMu8=; b=iJOyu7kRv8JkLi8E8j55jRSmdxBpkcr65CNNGhoEAg2g9q5BQpC8DnHxtPUiWcv+C9 orde17gsa5lAMeyYcnx5XdZVP2TUzFb8k8J1dXIePOegHsgkSH+m/pNYg8R5G4QRmw+h VCqNBh8jI+awLl6Dzg15KC9I99p9TxCvCeovsRAD6Ol1J3RtAzTPB7mJrEotbUkBqEZ8 BwaVD0BdIwp1+wVgpzUzWvF+xCUJg8vijYo/bNlRpUsDxQrQ2AuUws3hBm6xqUNBNu6z pjeE3puRy23OKFMWLqWFWWt3fG705PR2rvo/Exbh0qWI6G7BuzZnDFc9StOVzaJoRyP7 Ih4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729000898; x=1729605698; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=N5Gja8hJEy6mbg+GU072T7CfhtpT74yUKbjJvg4sMu8=; b=c2eIAdlaZgsCHqLorO5yqegggpZNEX4bGdxMOuH8/5p7BT4cS6rariAuBxPuwblr1u zk3D0Q38jlLOHy0RgJ1PJGrBAzevCJ0v7f6m904dXJ0fPNE+65VAVqkmOwpoZdq7PPBF /41G3l7V/XYmDuaHxJT55RvZlLlxojF8zr15Gu17LnHJS2A1h+DPHMQGZ24dgALC/Djr JqwIsuSTiJNMpqhX63wJLJLgKtyj80EkcM/x+Tb3THiT5by1G6uWcHF3Goneh56pQokr y/J/C0WO4gMuPvf08TNpTl4C3SNMIaBSeWWhs2FpavcR+QVDfkbR8iIYpTceNXHMqWnB xZYQ== X-Forwarded-Encrypted: i=1; AJvYcCWta0BssAQ9tdMsO8CPIf/xUr+veVo5x+FgGlcTD4pJukGN+IDUz4mqvl91Hzrokow+fpcaxBF7hAT+LOc=@vger.kernel.org X-Gm-Message-State: AOJu0YyW7YvGJGyvX5hgWpMxt1r/OzdCXMUBLL4rnBaQKPmTVITEy7Q8 AVyqhd3s7KeueRovDjZd0Ta8+QRDVhZCbif3g9KocQl/A3GkgKJ7sFCZRV2HRpBbAbNIAUnRjY1 fF+s//pNkPmWBnXyvIV+J4V8VSSwiARZScbA= X-Google-Smtp-Source: AGHT+IEqKh6lwdt/RLJr2ER5oROvma135kgxaikWA9lsGqFByreREEidSaR1Dq7Pq9l6xiouvfJidM+K095P/lAR/bw= X-Received: by 2002:a05:6830:4423:b0:714:fc39:6f2b with SMTP id 46e09a7af769-717df2f1316mr6702987a34.16.1729000898225; Tue, 15 Oct 2024 07:01:38 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: =?utf-8?b?0JjQu9GM0Y8g0K/QutC+0LLQu9C10LI=?= Date: Tue, 15 Oct 2024 21:01:39 +0700 Message-ID: Subject: [PATCH] ASoC: amd: yc: Fix non-functional mic on ASUS E1404FA To: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, broonie@kernel.org ASUS VivoBook E1404FA needs a quirks-table entry for the internal microphone to function properly. diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c index ace6328..d06c162 100644 --- a/sound/soc/amd/yc/acp6x-mach.c +++ b/sound/soc/amd/yc/acp6x-mach.c @@ -325,6 +325,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "M6500RC"), } }, + { + .driver_data = &acp6x_card, + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "E1404FA"), + } + }, { .driver_data = &acp6x_card, .matches = {