Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6472022rwl; Mon, 9 Jan 2023 08:45:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXvvgJO1epxCR9pQEsG24BJOIG4F5Q+er0U8KevqrSt9U0THFPqn4gxPQ4owvSL3Cihsx3BD X-Received: by 2002:a17:903:240b:b0:192:8bee:3e29 with SMTP id e11-20020a170903240b00b001928bee3e29mr56128826plo.2.1673282718827; Mon, 09 Jan 2023 08:45:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673282718; cv=none; d=google.com; s=arc-20160816; b=D4v0gvNhThDZ0h0nL7OPs+aXsMVUreBKPyj1hmigelstJbQojhBKWb/th6fka6oPVL Qpj52eljocMEabVJSQPZdOLFCEJC4QXdpy2u2QZJP7fbSMzS5cWZTrJb4d9+T66SStRa RPrAm7kalV1fjv5rHAuYaTwVQnSVPOMigfSm+IQ32Ef5G2FrlMEhgCAUBqFwmQcNubYT 40Zs5rkY7yKMlRAHNicejsrRbrSV2IKVQEJ23LBoSeZFR9K2rogYPn5MdCEOlM3ZO/+2 6rSMZUn9wlDLAzcw6XUVLWVEqIx4VyDplMmn59IvMMDLDyakJVHvOPOiGDswZS6q4ER/ szDw== 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=yVnSULVUdMWJaB5mRm6OQxi02v7SnPBbiJ6sW18Tfp4=; b=yfE374sEFV6B2GdnIXtDPbyaZTs/5Wdde6J7KfGb55Fy31f7GIJBT5juSXOXhzaJ95 vxoeXQlXVWq30jlS1528844kKNSTmRhHzQ3UL/QJpaxprdIvfWHPFx4g0pXEVpbuM6n9 ljUGcA8btGiG4mmL9nyfkA3p8SxgjwTZiREHaa9Vh3Hzepe9mEoUa9xI+W1PXCpX3NpO J9H+cVsfG3aDH3IOHjssvCLY+RNZxf5JMy1VPPbBHte5bZEwy7h2BArMXH9SDkllx/5t mapxU0JXCgCPslPgXxj9jfeeInrOYRHYo2oDkiGJHy9rSUybY+lZPPFEqic/E5mNHABF bimw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V88ClifF; 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 jh19-20020a170903329300b0017e8aa47020si8484828plb.472.2023.01.09.08.45.12; Mon, 09 Jan 2023 08:45:18 -0800 (PST) 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=V88ClifF; 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 S230005AbjAIQRS (ORCPT + 53 others); Mon, 9 Jan 2023 11:17:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233757AbjAIQQv (ORCPT ); Mon, 9 Jan 2023 11:16:51 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 847A062F8 for ; Mon, 9 Jan 2023 08:16:50 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 21449611BE for ; Mon, 9 Jan 2023 16:16:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12184C433F1; Mon, 9 Jan 2023 16:16:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673281009; bh=gfjzt/DnF9JCvu8ufzPU2ZxmvixSmjjSU/gNSsjFWEI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=V88ClifFKaGQJE/tkgPL9sOuWJq7wM0ylZS3l3ybzyNdtm4NfkW8jwDdGDwxzWGcK hMLo6bdOt5emTRJxjvQ4nZD2ICBEys2A+0/T6+0vAL7E5rZXNzUxVLahb8NEAZhzHn XG89infn9dhpMxnJxMCibE3bFRchbex5U2Sln5zQNYHKpmcCk8RT2ZZwF0NwCCfbGX 0mK7RdnmvDh0jQgJZk2M6Cz+TIts3+2cY6OYuK1sws9H9tfBqItsOeVhcvTsfnt20f DmSZbUjbJLq69nYj2iTUqkUe5BSnlLRub8vY+o0zDi3Fo3PeeefkGWKSWRpAcGfMCl CLyAzkdXNwoQg== Date: Mon, 9 Jan 2023 21:46:45 +0530 From: Vinod Koul To: Charles Keepax Cc: yung-chuan.liao@linux.intel.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, patches@opensource.cirrus.com Subject: Re: [PATCH v4 0/4] Minor SoundWire clean ups Message-ID: References: <20221125142028.1118618-1-ckeepax@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221125142028.1118618-1-ckeepax@opensource.cirrus.com> X-Spam-Status: No, score=-7.1 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 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 25-11-22, 14:20, Charles Keepax wrote: > Just some minor tidy ups and preparation for starting to upstream some > Cirrus SoundWire devices. The first three patches are pretty trivial, > the last patch which moves the remaining core over to using the no_pm > functions could probably use some careful review. Applied, thanks > > Changes since v3: > - Return an error and add a WARN_ONCE if the build stubs are used. > > Changes since v2: > - Fix up a memory leak of a buffer on the error path > - Added some reviewed by's > > Thanks, > Charles > > *** BLURB HERE *** oops :) > > Charles Keepax (3): > soundwire: Provide build stubs for common functions > soundwire: debugfs: Switch to sdw_read_no_pm > soundwire: stream: Move remaining register accesses over to no_pm > > Simon Trimmer (1): > soundwire: bus: export sdw_nwrite_no_pm and sdw_nread_no_pm functions > > drivers/soundwire/bus.c | 10 ++-- > drivers/soundwire/debugfs.c | 13 ++++- > drivers/soundwire/stream.c | 30 +++++----- > include/linux/soundwire/sdw.h | 107 ++++++++++++++++++++++++++++++---- > 4 files changed, 129 insertions(+), 31 deletions(-) > > -- > 2.30.2 -- ~Vinod