From patchwork Thu Jan 19 07:32:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bard Liao X-Patchwork-Id: 13107528 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B54FBC38142 for ; Thu, 19 Jan 2023 07:24:40 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 511F5568C; Thu, 19 Jan 2023 08:23:47 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 511F5568C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1674113077; bh=J+PuaT8Pd5jSfyga8q8sol2GC6waEKgBjAT0Ja2R/Sk=; h=From:To:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=tqR2c7ZkGLrVBiiIR0ajTvnCWpot7MxXfHBn/TE/jedA5nOBDBavM0g5uLRqyaToP 4PWBCDZDHpJaCdFrIvkaNkivsYs8B8H0vikRUobuV80VTP1SfIk678cicVvyutyMS8 szxCxuik2YB8e/F9GLTmtqQalivgyKlEx+MhbPWY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E89F4F8025D; Thu, 19 Jan 2023 08:23:46 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D50CCF8047B; Thu, 19 Jan 2023 08:23:45 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 4FCEBF80083 for ; Thu, 19 Jan 2023 08:23:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4FCEBF80083 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=ZKG4OjKm DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674113023; x=1705649023; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=J+PuaT8Pd5jSfyga8q8sol2GC6waEKgBjAT0Ja2R/Sk=; b=ZKG4OjKmf3JyRb98vO+b9rLP0T07xw12rGEJD48hr2WtLEt8r/eXd2zx vnptUFLzSqbW5KPABN7vksBbXViyP9OrgnVRNoySXm/+MbZj+65ZI/50v yK9SKaRWLRKuKoKSEvBOHbLwKSj9lv2MLZwbFUjWoWmYKJTYD8/bt6Yoh JDFFSfDqVNHCE1LDeV/eyMceVSgH7OPHm5BwBglS15CRhQJn3uU8drNu2 eAUrJ0vKkBXoqnJ75kR+D+v11kZRKW2Gec/uqiVzLgQ6ZbvdBFB6anQec Z9eETX/96wHABlpkQq9SZW5BTEStoO9rfbIQH9f5uQhgFSTc/t5xVeG2P A==; X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="322902650" X-IronPort-AV: E=Sophos;i="5.97,228,1669104000"; d="scan'208";a="322902650" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2023 23:23:38 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="662027983" X-IronPort-AV: E=Sophos;i="5.97,228,1669104000"; d="scan'208";a="662027983" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2023 23:23:36 -0800 From: Bard Liao To: alsa-devel@alsa-project.org, vkoul@kernel.org Subject: [PATCH v2 0/4] soundwire: better error handling in deferred transfers Date: Thu, 19 Jan 2023 15:32:07 +0800 Message-Id: <20230119073211.85979-1-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pierre-louis.bossart@linux.intel.com, vinod.koul@linaro.org, bard.liao@intel.com, linux-kernel@vger.kernel.org Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This is a generic cleanup series. v2: - Remove the "soundwire: stream: uniquify dev_err() logs" patch Pierre-Louis Bossart (4): 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 | 8 ++++---- include/linux/soundwire/sdw.h | 6 +++--- 6 files changed, 24 insertions(+), 30 deletions(-)