Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3318230iog; Mon, 27 Jun 2022 13:30:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1touXKL9gy27FERxLt8xOaeWhikG4CpErJHe3ZMWtmb1CQNTLn4lvMw0VDLcVHLwFjeKXjy X-Received: by 2002:a17:907:86a7:b0:726:317f:aee0 with SMTP id qa39-20020a17090786a700b00726317faee0mr14826330ejc.229.1656361803592; Mon, 27 Jun 2022 13:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656361803; cv=none; d=google.com; s=arc-20160816; b=ghe4epPsH+6vfyKpogBa1Hlw+spJxK0V0HSVuQVf+xP8yZOGSl8CfSgTg76IgvXHid Lzik9Vr7e169TCI1Cx/UHLrw75uM01jeR13TLg0nPnsduFitQT4YCaTKs1vxQSdKHqB6 9AkEXvE+frPMakUo6nKvNIJtfguUhREjQpKi+/ByzM3JbuVSLbTQolbhSTiXFgXspOO7 3DwXN1Amv9t3Is9naLX/bIKGRP5Q610M6n5wL/gGlG4bX+G08XywIhERZvmnjLUdb0cO IUu0UmJIxdlc1jNUKMwYFU1FPr7M+3f1drN4BEbZJi871D8GI21msl8OOhuMkXmFeG/S PJag== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=1kSJb07NtTUaxXt5x6RA2mKFMZfyEOgRtH5f5CrXh+I=; b=pHO2j0wNd/32CO717eYmyiTCVHyw6hG99vB2Dt+MiQcIJRM7YGg8l76HeHda2SSicQ pz+nsO7tr1wImnBaITuSC7kwJtgBkcj+Yo+poi1oS5cJ/f6XfaYQLmJO/Sj2BTgcEd4n iSQZHRZIn+g8ZNmrZXa64QEVs0RU2AYMKD3wsbRAdY4hddkCCREXg1YYM9SME111/eWK 0uOW/XMICb0MCs1OIqfFJsSDyCQqh7R/tLaUGrttNChQp81dvcJSbvfldjtClw8CtU9/ DnmzNTfeIhm7KgACw4IhfZovPSmtrqzLP6aNuktzbjDXwFo6t8+irAVOrLhh+iG6bV1L 9qPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="EzvLipb/"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jt13-20020a170906ca0d00b0070dfd895c81si11798892ejb.647.2022.06.27.13.29.38; Mon, 27 Jun 2022 13:30:03 -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=pass header.i=@kernel.org header.s=k20201202 header.b="EzvLipb/"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241189AbiF0UTS (ORCPT + 99 others); Mon, 27 Jun 2022 16:19:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241187AbiF0UTQ (ORCPT ); Mon, 27 Jun 2022 16:19:16 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD33E1EAEE; Mon, 27 Jun 2022 13:19:15 -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 ams.source.kernel.org (Postfix) with ESMTPS id 6C7B4B81ACC; Mon, 27 Jun 2022 20:19:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2ACA9C385A2; Mon, 27 Jun 2022 20:19:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656361153; bh=WuhLwVReyPIuFiHnuKnYYLH+rlvl1fOWMReZYjq2KMA=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=EzvLipb/md2jDxG97HKhkbVnANDIcXdB9kf1WhKt5pJMqo31/DRMReHEF/yPd0NHq lAokPdTX87zAbGK1wokDszHYzYkOgO234P616ZZPoLk+6AfycMhWmdhNC2fauIeoNL HLAocQYD/+epH+VC2NbaqYnAkgE+x/rwTVCvMOIqETvkDvPf1ZYSI7p2ASxeLY7wYy fPVJUMtPkVpAKYmw8OlVjjSE9PoH9uBYEdH6FLTkPbM9V3AxfUrAEgxRKceaTV2V6y 7NVCI4a+raTe9wQ0/6dgRWWghZXfAr2//NBeffs6+g9XXMmwzXS7vPiP+l0LC2F56D zGX3ZvEa3nNmQ== From: Mark Brown To: tiwai@suse.com, srinivas.kandagatla@linaro.org, perex@perex.cz, bgoswami@quicinc.com, lgirdwood@gmail.com, yassine.oudjana@gmail.com Cc: linux-kernel@vger.kernel.org, y.oudjana@protonmail.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org In-Reply-To: <20220622061745.35399-1-y.oudjana@protonmail.com> References: <20220622061745.35399-1-y.oudjana@protonmail.com> Subject: Re: [PATCH] ASoC: wcd9335: Use int array instead of bitmask for TX mixers Message-Id: <165636115088.3997797.3429241707337810347.b4-ty@kernel.org> Date: Mon, 27 Jun 2022 21:19:10 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Wed, 22 Jun 2022 10:17:45 +0400, Yassine Oudjana wrote: > From: Yassine Oudjana > > Currently slim_tx_mixer_get reports all TX mixers as enabled when > at least one is, due to it reading the entire tx_port_value bitmask > without testing the specific bit corresponding to a TX port. > Furthermore, using the same bitmask for all capture DAIs makes > setting one mixer affect them all. To prevent this, and since > the SLIM TX muxes effectively only connect to one of the mixers > at a time, turn tx_port_value into an int array storing the DAI > index each of the ports is connected to. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: wcd9335: Use int array instead of bitmask for TX mixers commit: 4b07ef55d1d4178dbec584195be148685ea25c59 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