Message ID | 20221016132648.3011729-1-lis8215@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1015963wrs; Sun, 16 Oct 2022 06:28:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4SlJEm8MILjRHsBR0AZpzTcBCZZempulq6zvVW4CRN77OVGg+gp3gCz9j6u1DuQZ8O3rw5 X-Received: by 2002:a17:906:fd85:b0:77b:b538:6472 with SMTP id xa5-20020a170906fd8500b0077bb5386472mr5142647ejb.48.1665926906809; Sun, 16 Oct 2022 06:28:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665926906; cv=none; d=google.com; s=arc-20160816; b=jpFnkfRcm6L0qU3bGA3Ggei+li09xzLrGP/WwrAENQxAYnvamRCmk4S2jDcY/B9pM2 xdzu/Ouac1WbGIu5fN9XLVDaCQ+3+fhvtNOIS5CdQI/xfNBe6n/V6AvVQQsT57xE71pf n6zwTFg80Rs6rktYXysna5jEvrSV4ng+Cgnt3YBAsTm5T60Ku3FAkRAliaz5ERtt5sYF sIdY38Uc0PGBR6mYnnqoAPgB5VRfpGxAODl7PiinFq7ZWW2dqFaaAWwWngk3y7ej3vCo OB0LVgF8A1CeFhxtvtSNHVbCVAOHBLcjRvXDbOQDLxQbGeu0fnQdoNw1cHQZd+ZbtPyS f5Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=C0pRjLS8S0PBxvIWJSoyY51V6LZOLpxOkz9SWeH8SHE=; b=SLciKTGBAIxzXNZtHpkkxXR+2JKgGlwQEP65jg8jAz2MiPyRjtDFBFjSxqkxPbln+r jbts8xmLqxr52wOP0hpTvTxOt+k/0ujuFJ0Vh2Mdfp5KL95Umj1T1J66hlSHMzLaExcF qrlGLam8d6hLndAaAc6vD3xch1lxJwZZjdvKDs+TBUM23u2H+Qe4+DMkLwxVEksAKdEz 4CKkEX3jAn6rEJTHhnvT7f59D6xEgAygB+YKt31AlXuspRbRN6m/h1wcqov58q0X2yUv s3EjUdzf9nYmAQeD5TiIQXgdUepXBg4LteF4COK6e8cDacYFB6AQd/FfWgsO4pi/jZ/b WhCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=NCMNDhej; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dv2-20020a170906b80200b0078d2848bca9si5959289ejb.704.2022.10.16.06.28.01; Sun, 16 Oct 2022 06:28:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=NCMNDhej; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229594AbiJPN1s (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Sun, 16 Oct 2022 09:27:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbiJPN1p (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 16 Oct 2022 09:27:45 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE7152AC4; Sun, 16 Oct 2022 06:27:44 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id e18so12653690edj.3; Sun, 16 Oct 2022 06:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=C0pRjLS8S0PBxvIWJSoyY51V6LZOLpxOkz9SWeH8SHE=; b=NCMNDhejEEGVm1W69lUOCI+DchetA+MgaOx5qqbVKe3kee03N9vBT8pYLlTixJD/9C Yq8m8iZx3A5WzJfc5ll79p9U29FVKFQYGLcqFYsr6RvOQOJmyIfTbOR0MEDRsDCsbGqj WUROdLUIdlHEwhng4cjnd8+XTYT486X8EjhpQaVeLQ3qQX0YiSY0uzETlA38HK6Y7ufl Icc/Lxgo0htF5D96lu9fzo/Of/VZDkZO1ZIWbJHy5xK4fijJ9Go0/wa7yDY3F87zKCQq svQ1Sf4aoTCrSnL7lMWs+oiARRhbDxddsa2Fh3UnCbad63h1M+5C9/IGNZAmKl7EXvwJ YxIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=C0pRjLS8S0PBxvIWJSoyY51V6LZOLpxOkz9SWeH8SHE=; b=d9lJbBegXIUbLQ8l5AFNuDn0ar6oMkA1cdh+irCPpaaIugVa/qQrsZVYbjezcoYjDV bxsPGHy6vsBMSO0nfGTCaDedP8Msk9zqm5qeKm3VMHcAeLwExSMy+h97avpCjKVMcRfV a835qKUUb0f6+3/KW4ITTij0aNU174w16HOgiBr/2z0OJIst6k1DTzXQ8jAf6Mlli9l7 9wJ46KnecymG7KjDTJ9DK4aNGwGa3wnTJ3cxFFnxyoP7fQvmAGUlTLRgwd1dAU61P2GP nHgbngPe9iQF6X42kYw/reaYr5I49W1wDE00RZQBLj3pFf5hFNsnMNA8Qvss5d5XNcZ+ ubow== X-Gm-Message-State: ACrzQf0FI5Qa0pPguPh8cntbCIqfa1WDgwFwQDh5P0KXmkn/4g1VO5j9 vpj63xZWAujQhIMvgyeOFAhhAvGajPQ= X-Received: by 2002:a05:6402:3806:b0:450:bad8:8cd5 with SMTP id es6-20020a056402380600b00450bad88cd5mr6315125edb.305.1665926863106; Sun, 16 Oct 2022 06:27:43 -0700 (PDT) Received: from hp-power-15.localdomain (mm-39-7-212-37.vitebsk.dynamic.pppoe.byfly.by. [37.212.7.39]) by smtp.gmail.com with ESMTPSA id y5-20020aa7ce85000000b0045c72bba0bfsm5572057edv.4.2022.10.16.06.27.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Oct 2022 06:27:42 -0700 (PDT) From: Siarhei Volkau <lis8215@gmail.com> Cc: Siarhei Volkau <lis8215@gmail.com>, Paul Cercueil <paul@crapouillou.net>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, linux-mips@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/7] ASoC: codecs: jz4725b: Various improvements and fixes Date: Sun, 16 Oct 2022 16:26:41 +0300 Message-Id: <20221016132648.3011729-1-lis8215@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746850971781208490?= X-GMAIL-MSGID: =?utf-8?q?1746850971781208490?= |
Series |
ASoC: codecs: jz4725b: Various improvements and fixes
|
|
Message
Siarhei Volkau
Oct. 16, 2022, 1:26 p.m. UTC
The patchset fixes: - Line In path stays powered off during capturing or bypass to mixer. - incorrectly represented dB values in alsamixer, et al. - incorrect represented Capture input selector in alsamixer in Playback tab. - wrong control selected as Capture Master The patchset improves: - Exposes output stage (post mixer) gain control and makes it new Master playback gain, DAC gain was the previous master. However, no Master mute now. - Exposes all mixer inputs (both Mics, LineIn and DAC) with their gain controls. - Exposes microphones widgets: single/differential input, boost. Known issues: - Bypass path enablement isn't applied immediately, for make things going bit clock needs to be triggered for a bit, e.g. by aplay dummy.wav It might be a hardware bug, since the bit clock isn't declared as required for codec operation. Tested on: - Ritmix RZX-27 (jz4725b). - Ritmix RZX-50 (jz4755). Diff from v2: - add microphone widgets Diff from v1: - each change in a separate patch Tested-by: Siarhei Volkau <lis8215@gmail.com> Signed-off-by: Siarhei Volkau <lis8215@gmail.com> Siarhei Volkau (7): ASoC: codecs: jz4725b: add missed Line In power control bit ASoC: codecs: jz4725b: fix reported volume for Master ctl ASoC: codecs: jz4725b: use right control for Capture Volume ASoC: codecs: jz4725b: fix capture selector naming ASoC: codecs: jz4725b: use right control for Master Playback ASoC: codecs: jz4725b: add missed Mixer inputs ASoC: codecs: jz4725b: add missed microphone widgets sound/soc/codecs/jz4725b.c | 109 +++++++++++++++++++++++++++++++------ 1 file changed, 92 insertions(+), 17 deletions(-)
Comments
On Sun, 16 Oct 2022 16:26:41 +0300, Siarhei Volkau wrote: > The patchset fixes: > - Line In path stays powered off during capturing or > bypass to mixer. > - incorrectly represented dB values in alsamixer, et al. > - incorrect represented Capture input selector in alsamixer > in Playback tab. > - wrong control selected as Capture Master > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/7] ASoC: codecs: jz4725b: add missed Line In power control bit commit: 1013999b431b4bcdc1f5ae47dd3338122751db31 [2/7] ASoC: codecs: jz4725b: fix reported volume for Master ctl commit: 088777bf65b98cfa4b5378119d0a7d49a58ece44 [3/7] ASoC: codecs: jz4725b: use right control for Capture Volume commit: 1538e2c8c9b7e7a656effcc6e4e7cfe8c1b405fd [4/7] ASoC: codecs: jz4725b: fix capture selector naming commit: 80852f8268769715db335a22305e81a0c4a38a84 [5/7] ASoC: codecs: jz4725b: use right control for Master Playback commit: e6233ee25059de0eeac6ed3d9d49737afdbd5087 [6/7] ASoC: codecs: jz4725b: add missed Mixer inputs commit: 616c291820d155cbad258ecae5c7dbca2c01f07f [7/7] ASoC: codecs: jz4725b: add missed microphone widgets commit: 4b192aa09b3c3615c79f8c60704a2efd15e500d0 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
вт, 18 окт. 2022 г. в 14:28, Mark Brown <broonie@kernel.org>: > Applied to > > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next > > Thanks! Great! Thank you! Unfortunately I found a critical bug in my patchset, yet easy to fix. So I need some help to make and send the fix. > If any updates are required or you are submitting further changes they > should be sent as incremental updates against current git, existing > patches will not be replaced. What are mailing lists it needs to be sent to? Any additional tags needed? I know about Fixes tag. Do I need to keep a link on this patchset somehow? Do I need to mail a patch with the fix to this thread or create a new one? PS: the patch will look like: - {"ADC Sourc Capture Routee", "Line In", "Line In"}, + {"ADC Source Capture Route", "Line In", "Line In"}, Thanks in advance, Siarhei
Hi Siarhei, Le jeu., oct. 20 2022 at 14:58:51 +0300, Siarhei Volkau <lis8215@gmail.com> a écrit : > вт, 18 окт. 2022 г. в 14:28, Mark Brown <broonie@kernel.org>: >> Applied to >> >> >> https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git >> for-next >> >> Thanks! > > Great! Thank you! > > Unfortunately I found a critical bug in my patchset, yet easy to fix. > So I need some help to make and send the fix. > >> If any updates are required or you are submitting further changes >> they >> should be sent as incremental updates against current git, existing >> patches will not be replaced. > > What are mailing lists it needs to be sent to? > Any additional tags needed? I know about Fixes tag. > Do I need to keep a link on this patchset somehow? > Do I need to mail a patch with the fix to this thread or > create a new one? > > PS: the patch will look like: > - {"ADC Sourc Capture Routee", "Line In", "Line In"}, > + {"ADC Source Capture Route", "Line In", "Line In"}, Somebody already submitted a fix. > Thanks in advance, > Siarhei Cheers, -Paul
On Thu, Oct 20, 2022 at 02:58:51PM +0300, Siarhei Volkau wrote: > вт, 18 окт. 2022 г. в 14:28, Mark Brown <broonie@kernel.org>: > > If any updates are required or you are submitting further changes they > > should be sent as incremental updates against current git, existing > > patches will not be replaced. > What are mailing lists it needs to be sent to? The same ones as for any other patch submission - alsa-devel in this case. > Any additional tags needed? I know about Fixes tag. No. > Do I need to keep a link on this patchset somehow? The fixes tag should be enough. > Do I need to mail a patch with the fix to this thread or > create a new one? Please create a new thread. > PS: the patch will look like: > - {"ADC Sourc Capture Routee", "Line In", "Line In"}, > + {"ADC Source Capture Route", "Line In", "Line In"}, This was already fixed by Colin...
чт, 20 окт. 2022 г. в 15:14, Mark Brown <broonie@kernel.org>:
> This was already fixed by Colin...
Wow! Thank you all, guys!