Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2573691rdg; Mon, 14 Aug 2023 06:59:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGscwoubtPNLradlKPQhWMnpe68/3uvkfRzFhjlUU3WMBz5VJiK6c1W/wBl4lw4kEim0eKM X-Received: by 2002:a17:902:db10:b0:1bc:3908:14d with SMTP id m16-20020a170902db1000b001bc3908014dmr16827733plx.2.1692021571410; Mon, 14 Aug 2023 06:59:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692021571; cv=none; d=google.com; s=arc-20160816; b=R9KbNWVXW61vs+E95m/P4in4RnTuDKG4SON0n1/CtUaudjWrCoFihVdndEVGeFufcY oo3UfXBh/uLr/ehSOTS5BpxGTyobRvi/tFrQynLb77UHE3TGhhdrNoqOSLur0LoTV8ob hn7yGkXwA7o33/rA5eJUAp9sTfL5kC+pa8W9PM6t0mDrY8gKsFkfGuJ6zQEzXG/ocX5g JhiVbp50qUUKxvJGNo63CaYX6giYo/CLzEbKv4pMzTdPU8UPk8kBl4hNWjTJl0OXZLOi M+lMKBVhu8kFebuPFYuWMhCGGyuh9c8/thxV7jR+YJPUn2B2Pc4DwbrCn243bWfhwNXj ejsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EdyWEiBS89VGfPpZlStnAkJM+G5ue+m6uKyK3RoOSKY=; fh=QHpxEsC3dFfueMmwm4cJ/GIhE2OgRwQx1ut8TmOFfrc=; b=fm3sXEDI/Q6tHjp8TbIWNGT72a2XY4p2DuDDhjivNPpLofhCnFqB9kbW3rPKJ7SHCL Zef8l7AV5/J6nLym0ydCJHpa8XHogAFFdj44Pbmtd5+dQ9epgzQHUhkeOUbpp709pRBb a7L7s+ymlCr0SlJdCxIlS5ig0GE4JbU8Y4ghE/NpKvDzfBeWgQ8fpEVmextTZQOhrSjp 1QEikn58epNzVSSjoQb9NBWFbtM9yFDXGAANUb8DnJOsxBX2U9jDs1uSDNNX5rvlfYxD 3mTSjs4PTmQlEYnSFTQGlbBmV8UPBRz7DVwYRsmdX0zs6Hs1WGC/mpgQ9ger/Iw0j+nU JjiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="TITz5O/3"; 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 a3-20020a170902900300b001bbd0450af8si7852042plp.187.2023.08.14.06.59.18; Mon, 14 Aug 2023 06:59:31 -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="TITz5O/3"; 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 S229645AbjHNNHG (ORCPT + 99 others); Mon, 14 Aug 2023 09:07:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbjHNNGe (ORCPT ); Mon, 14 Aug 2023 09:06:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8038FE5F for ; Mon, 14 Aug 2023 06:06:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 174D16225E for ; Mon, 14 Aug 2023 13:06:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02580C433C7; Mon, 14 Aug 2023 13:06:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692018392; bh=4DceL9KcHwWQ+Cgmj5RYuHHEBdgdMe9pj2q7texqDIM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TITz5O/3gIKn5GUU3om6d4hipptoJo9YS0ebS1rOaIJBI7XZKnxYY3k1d5abuJoRn WILPfL9Wka9Ir1ohTb5vgdOsWXzZicfvz84jYLbNurywPIwusswHbkx1BS01rtJXNV JITK09jY8uMyjbztdsZlYvuibLfx6QHLLI/FiT+4f6lOvlfPOheLWXR3mGfW4ge3H3 lwB9qpniN6g2DVzVEsW2TyyUGMrasGy53V535bCDkHprpV1LjFh8nJ2d5IdLQdUJKE W5LiGvSuEh9TN8E/9lJtlEZ9bEnEi03oroJLJzUfoS3RH3BI2xO2ycB4w0F5AeXwvz nrGiQwoxNwyhg== Date: Mon, 14 Aug 2023 14:06:27 +0100 From: Mark Brown To: Takashi Iwai Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla , Banajit Goswami Subject: Re: [PATCH 20/25] ASoC: qcom: Convert to generic PCM copy ops Message-ID: References: <20230814115523.15279-1-tiwai@suse.de> <20230814115523.15279-21-tiwai@suse.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vxNJttPmjSY0Llhd" Content-Disposition: inline In-Reply-To: <20230814115523.15279-21-tiwai@suse.de> X-Cookie: FACILITY REJECTED 100044200000 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vxNJttPmjSY0Llhd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 14, 2023 at 01:55:18PM +0200, Takashi Iwai wrote: > This patch converts the qcom lpass driver code to use the new unified > PCM copy callback. It's a straightforward conversion from *_user() to > *_iter() variants. >=20 > Note that copy_from/to_iter() returns the copied bytes, hence the > error condition is inverted from copy_from/to_user(). Reviewed-by: Mark Brown --vxNJttPmjSY0Llhd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmTaJtMACgkQJNaLcl1U h9BaHAf8CmSE+u2aE3htHE9hbFad/tLmWLTNyST1EuzVnzF2gCUsGbMbEFxSUvqn YmKboT1SXtQRr+tvSAmb+CCHgMN/krVgb57xi6wC8uI8SlVa7Hld99Ki14ugHtGk PdQ3qSCEUNSSMOSKDzMu6hdUiE3gISeeBn/z4BY28qcGNtGGfXJFig1Zq5HJaXnn jN9QZAHEVsg/vHof8nYY9p0a7FdxNBlN39l1gM/0lm+rNgY+dqSXbeh4mMv5MLjj RGocfUX+hD8gO9OcqmpOcs8gk0ImWk+COWd/1Td4+AvZOMd82tptu615whIADpV6 fhQyTz/bYwb+YTSEoR2b316L4Y/n5w== =Xez9 -----END PGP SIGNATURE----- --vxNJttPmjSY0Llhd--