Message ID | 20221121141406.3840561-1-ckeepax@opensource.cirrus.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1614124wrr; Mon, 21 Nov 2022 06:17:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf6iMh8MSA76rjEz1ydraQd3ygeDrTjtByNJ3Ut1GDpOIInFbH/q+fPxUKu2ADR+gQx/sYcL X-Received: by 2002:a17:906:6403:b0:7b2:9667:241e with SMTP id d3-20020a170906640300b007b29667241emr16022262ejm.115.1669040222700; Mon, 21 Nov 2022 06:17:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669040222; cv=none; d=google.com; s=arc-20160816; b=hdKqs6goWsavsH1ykQoQfUQuiuSbPH3ZMVTdAg0Db+85X9OqAJAvOuSbJ56jMQs6Ol ycDg5gmduXdQmKGHkkQcabRfG1UFHENdnxZNMCqXnOJE9ETZsrwxPmIuvzUbN5QMe+xg XYNZl1ZNLeJ/H2KRHFCzfVv/2C3dJN9X5mmUbxAZcgN3PMELGqZy9+leKyZqkFMcwdZA OmYORZON03OUhEWZr+RnzuyYtW7NKHi1K1hmDwVOWMB5KXMyD2JM1+NAI2i8IV5HK2ZO NrB6ctx5XEBs1YtkBx86L+BgzXOu4jUPgQaWjLOlHn1Je3RTLclbY9Csjb4lk3AJGVtj CCwQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=drhTEQe31yycsjARalMi8wiw6eVsmgrhMdEVBIej5ao=; b=UJv65hit7as74aqzZZnR5odcoHPgLK82daOj3rtx3geRphyL4MR8O/fUMeife7mj+s twxRhpYxCBs0HrC3YM724Y5LlpcVE0ONlReM4jEDs4Qnsm9uMUV6r8bHE4dkrCDxxFPY 19+41FmYKFBTvDbKOLWakOBEC7+QZuvWnOVBupi5kf836JwgVv1gJ0xqoLrVO7auhuFR eL/g0AbhdGsH5I1QEy10cWAWSSdFn3D7yuxs4U8GtPBs0yisY2rIyz6190+sBWmdPbFu YKXMSRnHgGy/TkhdUFH1L46912Gp5/oUNuJqPM6hVk39z7xtA2EMKXPy/7TsELbEXRUc ldoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=Px2yehW0; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p16-20020a056402501000b0046277d2cb0csi9653793eda.470.2022.11.21.06.16.34; Mon, 21 Nov 2022 06:17:02 -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=@cirrus.com header.s=PODMain02222019 header.b=Px2yehW0; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230475AbiKUOP6 (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Mon, 21 Nov 2022 09:15:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230271AbiKUOPZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 21 Nov 2022 09:15:25 -0500 Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3F7E5F58 for <linux-kernel@vger.kernel.org>; Mon, 21 Nov 2022 06:14:15 -0800 (PST) Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2ALCr4Bv002700; Mon, 21 Nov 2022 08:14:08 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=drhTEQe31yycsjARalMi8wiw6eVsmgrhMdEVBIej5ao=; b=Px2yehW0pb3Dxk9Et+O5SgtdGsZeG+kXGc3p3QjGWDkub5qGbuUdeMLag+VO6SOBOCsF DNhb0ERqw9FNiXBSncGlgzb1bhPdcTsc32h1PAsyLAOgqmCZuv87SGkgceIxjzpuzYI/ bA4ClYvtTf/SFc5nekF5lMnen1xv22ul6JcXvBI5t6W/z1Iti9QUXGqviPGNnjxlIIVl Ddb8wKqJPvI7XIV4cRQcBEh7+7IxdycptQ7xP19MQBJSk3xQBcqYNwbGJzbPM4QzsXBC ZQ2tmXfDTs4b04QdmW+k9rUbRsEZII2oWSmJWnBANv4PARNVrJbcxjYZQX+YV7FBKE1l DQ== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3kxvet283r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Nov 2022 08:14:07 -0600 Received: from ediex01.ad.cirrus.com (198.61.84.80) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.20; Mon, 21 Nov 2022 08:14:06 -0600 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.2.1118.20 via Frontend Transport; Mon, 21 Nov 2022 08:14:06 -0600 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 5DF06468; Mon, 21 Nov 2022 14:14:06 +0000 (UTC) From: Charles Keepax <ckeepax@opensource.cirrus.com> To: <vkoul@kernel.org> 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: [PATCH v3 0/4] Minor SoundWire clean ups Date: Mon, 21 Nov 2022 14:14:02 +0000 Message-ID: <20221121141406.3840561-1-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: JZF-RXjQwTMQmNfQXDXWTohWiOHZXD5q X-Proofpoint-GUID: JZF-RXjQwTMQmNfQXDXWTohWiOHZXD5q X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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: <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?1750115520273710481?= X-GMAIL-MSGID: =?utf-8?q?1750115520273710481?= |
Series |
Minor SoundWire clean ups
|
|
Message
Charles Keepax
Nov. 21, 2022, 2:14 p.m. UTC
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. Changes since v2: - Fix up a memory leak of a buffer on the error path - Added some reviewed by's Thanks, Charles 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 | 94 +++++++++++++++++++++++++++++++---- 4 files changed, 116 insertions(+), 31 deletions(-)