From patchwork Fri Jan 13 09:35:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bard Liao X-Patchwork-Id: 3971 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp175205wrt; Fri, 13 Jan 2023 01:41:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXtGgMA+VmF9XE7lt+NC5Z5zjMsgK9we/x0xqVgYk8rJqTQsyva/zto402AlDcIpkSjYUfPX X-Received: by 2002:a17:907:c11:b0:844:79b1:ab36 with SMTP id ga17-20020a1709070c1100b0084479b1ab36mr3119097ejc.25.1673602902733; Fri, 13 Jan 2023 01:41:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673602902; cv=none; d=google.com; s=arc-20160816; b=X5rgHzlRTFm9uk8kCehOZjoQrK89RjoxOwAAKPx4o+aOQ59URjDJhtnjCsS81yCSTx uoin8/Rc90iE9+XsNyhlSn77nRlx7prbghAhgojy6DnxfyQX6YSGIi7L4P3PfkL4dSf3 QgpFYlNxYO7sH2TgoNaKlc9W4iRbtHY78dX3RlBHXqDh8nyl/2iSET9+mDx4T4I/nsXF 6Vd7kJWlQUfWIAfGsocPFL19ivvXH+/q6p+GV//BDSIJd0jnRVBl3acZ2uhdP3ZyC5Zm oLnbDeIfkxRbluV7oIbOIrIlU4udnxqeRrd4C4EvcWtDCf2hgaobg5iJyRwMLKXV2NUz qG6g== 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=4KNkSaXUxQgLoagLfl9RF5kB63Mt5snCC5GEt5ICunQ=; b=Hf/XLM/inxtYFY8w6sk59h49QRwjBGkLFXd66Y2qIs4TeZ7EmrUdUQ4ysZXfr5MSh/ NXqdTwxqN9XRq9kvSul0N1zYwvE38NfeZzSJiOsScvAi/TKp1ccBnw44Wl3uYNj1rPSF BfWhJmHSPenEC4D0Bd9xe6sjf38QzIJ2rUEUNbF9nqEFt6hv5pYQcL//Lf/VvR2PKQ45 xIdXW4CMO755RY2U3mJWofFPgfSP2UJtXVT8UF4QXnzbKj471xwPhKI02jlpNBlldjiA /KbhCDT0kxlIVINY968HjLfU4DRIOpAt6dGKAyx8DR3xuhFpSImzu97+BqUZLYkAvEIN tkng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="jl/RicU3"; 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=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bb6-20020a1709070a0600b0085a483a6fd9si9637868ejc.212.2023.01.13.01.41.16; Fri, 13 Jan 2023 01:41:42 -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=@intel.com header.s=Intel header.b="jl/RicU3"; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241138AbjAMJeu (ORCPT + 99 others); Fri, 13 Jan 2023 04:34:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241264AbjAMJbq (ORCPT ); Fri, 13 Jan 2023 04:31:46 -0500 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 047021A212 for ; Fri, 13 Jan 2023 01:27:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673602041; x=1705138041; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=aD/lfRR8F8fjWyTEE25We7aJuQghHG33UM+A1dXJgGo=; b=jl/RicU3vP2eBa5PqQ14uGsuNMjconaiOKdg3UL02o4ghs19JhFKpgOB M5GYQBV8nTdgSuKK6Pk3cLHURjvNidM84GBvNQT65Gk02b/3xNUA7H93k MhW7OLOmRESXgTEk9NQW+mgXBR5PSngTyOJr6wEz4bKDxvEJVC21RvCKp DzMr4Fd0vywtYnb4i8ylCTWTBzGLE+0O6FzSmgiq/NelKPYx7imdd7hBc rp2CkdudFT4NStSbZod+3OMoT43WZ38u0nQvMH/udl0vfj8BRXiPuQAj+ dET5zDPoR+0tCjlWDeUxKx/DHAd3foaFdfUZyOxD9s34H1dqN9nnjuZUS A==; X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="351189427" X-IronPort-AV: E=Sophos;i="5.97,213,1669104000"; d="scan'208";a="351189427" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jan 2023 01:27:20 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="608116081" X-IronPort-AV: E=Sophos;i="5.97,213,1669104000"; d="scan'208";a="608116081" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jan 2023 01:27:18 -0800 From: Bard Liao To: alsa-devel@alsa-project.org, vkoul@kernel.org Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, bard.liao@intel.com Subject: [PATCH 0/5] soundwire: better error handling in deferred transfers Date: Fri, 13 Jan 2023 17:35:27 +0800 Message-Id: <20230113093532.3872113-1-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754899837657428766?= X-GMAIL-MSGID: =?utf-8?q?1754899837657428766?= This is a generic cleanup series. Pierre-Louis Bossart (5): soundwire: stream: uniquify dev_err() logs soundwire: stream: use consistent pattern for freeing buffers soundwire: bus: remove sdw_defer argument in sdw_transfer_defer() soundwire: cadence: use directly bus sdw_defer structure soundwire: cadence: further simplify low-level xfer_msg_defer() callback drivers/soundwire/bus.c | 12 +++++------- drivers/soundwire/bus.h | 3 +-- drivers/soundwire/cadence_master.c | 20 ++++++++++---------- drivers/soundwire/cadence_master.h | 5 +---- drivers/soundwire/stream.c | 22 ++++++++++++---------- include/linux/soundwire/sdw.h | 6 +++--- 6 files changed, 32 insertions(+), 36 deletions(-)