Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5126862iog; Wed, 22 Jun 2022 12:34:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ucmx6OWiO69J9kVMz7Cdz0DK+VshYcAJsyAfmzASgl4eJZvTGDoAXa8oWRisE7alBzDNjx X-Received: by 2002:a05:6402:3220:b0:435:8b50:e995 with SMTP id g32-20020a056402322000b004358b50e995mr5931906eda.293.1655926465391; Wed, 22 Jun 2022 12:34:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655926465; cv=none; d=google.com; s=arc-20160816; b=l5v3z9U/1Er8k6oKb0a6OfCJc2soYk5DxZjCjJn45xWYuxa1WJgQbKmN2QJEq9VUua yRC6W+f3XxVTsrZ+rZRxvyVjOs//NGK7cq+P7g1U+RoT3r7EzkNlBXdtTfyRWWbgMo4y yWIytZ3LuOGjoUbx2IxWYCurwUmcBsT+9IqszEXUiOjWGvreqbcrVrQ+os47W6mTElEd xHx6M/Ptrk4uNkaeglwG0knQaRgumwNv8Ku5J2pDQ96SVlet1RAexdVtw6E1daMNepJk zdNi74MUgnZu5B0nkrteLqS8rA8cNF7V8aP9Zbf+wC4dSA0jmXt8ndowkR/MFUXAjuI/ 90Zg== 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=btAJG3ZM+WibewOEqqgdx5QLrUQrItiC5pEehY3iTf4=; b=BjhC+4CCYD/ZcLluPTt7gcL9hdwJ7Jaq8VIKiF6rR4XWHkJk4CxZ4rGMrkhGPSQpkW SgmpOHmAgyktT4lw7q9uJfy6ffMCpRz9MKLw77q59MLkmMp/5wAGgFyTDMxMEJTNwvKp f/eza85vn06FZ0qdhXfOwhTczIVMrr2iggXGYxjE5vLLNolVvzFva/kHtArN4aLRxpxi XX7D/qF8HAb9L2m5FH5RTodbZYwcatxVd5GAUHC035R9yvWwvmq6oO3V6dlN0zctuKIr w0ZPKw/hgsSjB4pJ07jORLyKeewIRdm3CDGJuoMJHvWW0vf+IimZbt0SOHDTd7Gzox8l F27w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lAOCYAHS; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020a170906299800b006effe0b6fdcsi12583922eje.613.2022.06.22.12.33.58; Wed, 22 Jun 2022 12:34:25 -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=@intel.com header.s=Intel header.b=lAOCYAHS; 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 S1359860AbiFVSyE (ORCPT + 99 others); Wed, 22 Jun 2022 14:54:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376945AbiFVSxr (ORCPT ); Wed, 22 Jun 2022 14:53:47 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2FE9167E9; Wed, 22 Jun 2022 11:53:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655924026; x=1687460026; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=VlUd8xPPF+2RmdPfGjg1Rkn/e8F3oCkg6LjzT2/3Llk=; b=lAOCYAHSUuVBDa7N9oxyv41eqJ7xxePlpPRdcoK1f+kBa7OCjOwBE68L 4rMf6hWv7QKU4sg6YJRrgYMeqOmdaL9ALdUKsZKlFW7cXRXo0p6IBHByB 13RuYfCH77pMe48MGgTk0p+nL06diAsWYMw8Xg5CemZ60yi7Uz5Pp5bwi zdWDZ5yDdRrTpfZoQfxpXrGGvK+78+MHQfAKr38vIZu00vci4DziIN8Jr bHnAp5R8pAOCP4oJHrWzYXl8+YUJCg01BYz4XEu7ISi5gosJFJ81A3VaX tlk+Q2KaT5lwhkGWxWz0HQ8ki0xBwKYQ4V7OMh5iRx9s7hOKHl+Fi76Gq w==; X-IronPort-AV: E=McAfee;i="6400,9594,10386"; a="260949227" X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="260949227" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2022 11:53:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="834264887" Received: from bwalker-desk.ch.intel.com ([143.182.136.162]) by fmsmga006.fm.intel.com with ESMTP; 22 Jun 2022 11:53:46 -0700 From: Ben Walker To: vkoul@kernel.org Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, mporter@kernel.crashing.org Subject: [PATCH v3 06/15] rapidio: Use dmaengine_async_is_tx_complete Date: Wed, 22 Jun 2022 11:53:42 -0700 Message-Id: <20220622185342.3043582-1-benjamin.walker@intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Replace dma_async_is_tx_complete with dmaengine_async_is_tx_complete. The previous API will be removed in favor of the new one. Signed-off-by: Ben Walker --- drivers/rapidio/devices/rio_mport_cdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/rapidio/devices/rio_mport_cdev.c b/drivers/rapidio/devices/rio_mport_cdev.c index 2cdc054e53a53..d4108ff2bb74c 100644 --- a/drivers/rapidio/devices/rio_mport_cdev.c +++ b/drivers/rapidio/devices/rio_mport_cdev.c @@ -597,8 +597,7 @@ static void dma_xfer_callback(void *param) struct mport_dma_req *req = (struct mport_dma_req *)param; struct mport_cdev_priv *priv = req->priv; - req->status = dma_async_is_tx_complete(priv->dmach, req->cookie, - NULL, NULL); + req->status = dmaengine_async_is_tx_complete(priv->dmach, req->cookie); complete(&req->req_comp); kref_put(&req->refcount, dma_req_free); } -- 2.35.1