Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp695305iog; Thu, 30 Jun 2022 08:28:40 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ttZGoEVgSf76LZSo6St6KrUGWpnupJ/YLy7LEF2M+EJIyIkBJZC4jlr2N8phFaOvBbFgcP X-Received: by 2002:a17:906:58d5:b0:722:fc0b:305a with SMTP id e21-20020a17090658d500b00722fc0b305amr9278883ejs.251.1656602919760; Thu, 30 Jun 2022 08:28:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656602919; cv=none; d=google.com; s=arc-20160816; b=LIlP0sz1PlxChEhfWriiq5tKUDZ6hWviLXq2jWRKRw8fUyOvoZlPsM7JIPE+Btbz5i c8/w5SG2l4qG7PVnM4tJI2h7o8bhwf9CrOOucj1fEuR8kzM49n5Cg3vO4uBwt1sU7wV+ aPHdZtgmDch+HmW1pFgxN9Ge+XzIDS0mdIvBE9TPl0nKyYt5bJwfBww0a7eB/kVwnufc x/+EO4/TATk9TGG5iBmtUg8yH3W+kLVJENPMXajI5ZjMTAlOkoMyskfuCgY13W59Z0n9 Lnvoy7F97PdUHCZOjoeB5Zlv06uCiHn15U6XNdDieEwbqNsrjC6+uCS0WuD6pbxf5b+q c51A== 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=iK7jS59YzQdJ8oh+BJ8qMRi+nNbFC+YAWa/W6HY7azE=; b=q/4BDgpCCZX5SybwCQE2qO0tURdOHQMRYBW+bjHpBGXg0Kh7e/k+N939JvszXorGre 3lQGTKiXRdbnablYPP23YacklB1mEzhut6H/1yztUCm2H/ZXjwzWoPVqn6zCyC1A2nmq svUjUJCdqjthHxb07KXsSdTo3pEysk6PPKz6UabUbemTz+ABqPZ1gqbDY9LHFiGyCyNq usXPnoMeCIrhs4ZIoeue3JGq5bo5DU+XF8GU4yrecoaZ1GGUMtgYQ9GfjpnFZWJ3Ln+B 3Nkn55/RS53rEL2K1HTBkpZtdV/SiH8ipw77+GBInRpLzd4kfpA8M2oAjvLi1CFzXKI5 2TLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="O68hkQ3/"; 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 u22-20020a17090617d600b006e8925846cesi11084602eje.471.2022.06.30.08.28.13; Thu, 30 Jun 2022 08:28:39 -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="O68hkQ3/"; 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 S235595AbiF3PK0 (ORCPT + 99 others); Thu, 30 Jun 2022 11:10:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235588AbiF3PKX (ORCPT ); Thu, 30 Jun 2022 11:10:23 -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 24AEA2AE13 for ; Thu, 30 Jun 2022 08:10:22 -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 CD4A7B82B67 for ; Thu, 30 Jun 2022 15:10:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77277C3411E; Thu, 30 Jun 2022 15:10:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656601819; bh=zeFJ3+bVEU+Sxu4AmXvCkorfkIgB7pbCnM8thSAH86I=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=O68hkQ3/IxDKaXUH64kz8FlHdQ7+j4rTN+euMINPLKf0TAbcAkokA4jeih23NGMmd DF7DbKzDJxuTcqxQgHA7UCfe5yNk6YcvMpXunyZ+Bq3xVvxMowe8M7CRbr1xaMbmVN tFodIaM1RiORCOj62wDt+Uba/fa2bm8Eh/SHWWuhWllEM3gin8u6XwQfxnaNCfhBpd tpXcLRx50EvUO2Ab4pcwyjabWlu0Gq4vG1bP1J/RGL7jvZXIBiVdJ8rNrLUuDrK0kQ 5cWdk3fvTqQBR41YdpFVEH5CCsOa3uZ9/YMwTNofWxqsr/zDLxTwHdOATb0j4hukTd fdIQPGM8tAQQQ== From: Mark Brown To: ckeepax@opensource.cirrus.com Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, lgirdwood@gmail.com In-Reply-To: <20220630101459.3442327-1-ckeepax@opensource.cirrus.com> References: <20220630101459.3442327-1-ckeepax@opensource.cirrus.com> Subject: Re: [PATCH] ASoC: wm_adsp: Minor clean and redundant code removal Message-Id: <165660181820.664251.9414397371469322240.b4-ty@kernel.org> Date: Thu, 30 Jun 2022 16:10:18 +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 Thu, 30 Jun 2022 11:14:59 +0100, Charles Keepax wrote: > The cs_dsp core will return an error if passed a NULL cs_dsp struct so > there is no need for the wm_adsp_write|read_ctl functions to manually > check that. The cs_dsp core will also check the data is within bounds of > the control so the additional bounds check is redundant too. Simplify > things a bit by removing said code. > > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: wm_adsp: Minor clean and redundant code removal commit: e8010efc7b83038d1c18abe1b8d171e3c7d4ed92 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