From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6CB3CD4F32 for ; Fri, 22 Sep 2023 08:49:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232406AbjIVItv (ORCPT ); Fri, 22 Sep 2023 04:49:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232456AbjIVIts (ORCPT ); Fri, 22 Sep 2023 04:49:48 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5155192 for ; Fri, 22 Sep 2023 01:49:42 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 933171F38A; Fri, 22 Sep 2023 08:49:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1695372581; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yJwNh6tt3I2URhiAbImeySdxShqBvX1XJXiHR26G5wU=; b=GRglEksvTLtGJZDqKZpBqiE7p9xYddPbL7fgKxfzPTzzuSLI/9/ut8YLO/kVRtbqn607k9 qHqdzPjmzZoEUqtzo5arpjeI1ynM0rNNKwZp8gxBY+H8xTTlXUng2qWZsxVn0bNn/376jx LDe3nuHOX36/RS3w3NoQkegB+fArWkc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1695372581; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yJwNh6tt3I2URhiAbImeySdxShqBvX1XJXiHR26G5wU=; b=+hUkuCyXOjuMPg5bXlfcylF0ciSmaZgF6stQ/U26LnV8m5Jyj8HUIG6ZwlHEoA1PSAhIdj av9Nq5OSqCaRYJCw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 65AAF13597; Fri, 22 Sep 2023 08:49:41 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 9mLtFyVVDWXmRwAAMHmgww (envelope-from ); Fri, 22 Sep 2023 08:49:41 +0000 Date: Fri, 22 Sep 2023 10:49:40 +0200 Message-ID: <87fs36egnv.wl-tiwai@suse.de> From: Takashi Iwai To: Stefan Binding Cc: Jaroslav Kysela , Takashi Iwai , , , Subject: Re: [PATCH v5 0/4] Support mute notifications for CS35L41 HDA In-Reply-To: <20230921162849.1988124-1-sbinding@opensource.cirrus.com> References: <20230921162849.1988124-1-sbinding@opensource.cirrus.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 21 Sep 2023 18:28:45 +0200, Stefan Binding wrote: > > Some systems use a special keyboard shortcut to mute speaker audio. > On systems using CS35L41 HDA which have this shortcut, add a > mechanism which uses ACPI notifications to determine when the > shortcut is pressed, and then mute the amps inside the driver. > > Since this is not a normal mute mechanism, it does not go through > userspace. To allow userspace to be able to track this special > state, add an ALSA control which tracks the state of this forced > mute > > Changes since v2: > - Fixed compile issue when CONFIG_ACPI is missing > > Changes since v3: > - Split first patch into 3 separate patches > - Ensure all acpi code is protected by check for CONFIG_ACPI in > realtek driver > > Changes since v4: > - Rebase onto for-next branch > > Stefan Binding (4): > ALSA: hda: cs35l41: Add notification support into component binding > ALSA: hda/realtek: Support ACPI Notification framework via component > binding > ALSA: hda: cs35l41: Support mute notifications for CS35L41 HDA > ALSA: hda: cs35l41: Add read-only ALSA control for forced mute Applied to for-next branch now. Thanks. Takashi