From patchwork Tue Sep 11 08:35:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 146967 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3386054ljw; Tue, 11 Sep 2018 01:36:26 -0700 (PDT) X-Google-Smtp-Source: ANB0VdalWuleJRrsDA4vJTT7NIvmoy9m3maP7pZZumcSBdJC8Rc6X9pDrY8K+gf1PRwCAGr0VSzm X-Received: by 2002:a17:902:1a9:: with SMTP id b38-v6mr25894713plb.89.1536654986234; Tue, 11 Sep 2018 01:36:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536654986; cv=none; d=google.com; s=arc-20160816; b=Hd5kn6Lz5nOFPBQEdSOlBpAQNEkzDX6EZq6ejh1TuCgc5ZhIxtnXpql47h+5vuvqWo 9k6KOH8XIYTlgV2seNDzPFEoo2PKpgFTgmQujrv483uhEKroMLoTUXUIl5qTfWibs1OA y5X+BLAmUCrb2LXgivDaMirgpwf3LDTxS2ZN35eV5xefM0FvzRXpkJ8MWst27GmkcNDn rP2oianeFO1ZE8qEyL88Z5sD/F+PvbqrOw3ikaxPCta5w2RnwKgTGQ5zrQ6/O08FKJpT a0YGUUUETH6D9L+yR8sfMU4xINkA9ZMzvwGUIfevBIPZSEwyugnjaoyYk6jObjeAsDtt Dlhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=QJBpSukcFNjQpRp0zXb/LhSFY04xwWKknnbV8unCffg=; b=D4qsExXBJxItq5AZVd9XORzNRNXvu7ObE9ROYXSlbM9+Cs2CysBv5bJ+ozTCW6DgpT blL3jDr1v9jc556uYd0F8wlUWkTnehRWfxRaI5e2Q5ov8ROwoHfNG3swcQ3WiwF+XoBZ ExshMuZtttsUitDbAJmIrQAI8LdS29cvkY129RYCNYOnTeaQN+0RkEKy8pIIf/0Svkez 3QFsF2gJguSMGEWKPJ9P4ku2wdRkLBlaeUnJXur9p3JMh3zAWfVQbMBwDtxJG3I0pt0w 17I1ACA8IvnIuArQ4CBOJBSPHTqV738saPj/Mi75msXgqwxNH21MMEcWo+1IWJ5N2FFL jyig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fY4euzwZ; spf=pass (google.com: best guess record for domain of dmaengine-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=dmaengine-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 21-v6si19613906pfy.169.2018.09.11.01.36.26; Tue, 11 Sep 2018 01:36:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dmaengine-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fY4euzwZ; spf=pass (google.com: best guess record for domain of dmaengine-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=dmaengine-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 S1726492AbeIKNej (ORCPT + 3 others); Tue, 11 Sep 2018 09:34:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:52150 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726387AbeIKNej (ORCPT ); Tue, 11 Sep 2018 09:34:39 -0400 Received: from localhost.localdomain (unknown [171.76.126.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D04A22086E; Tue, 11 Sep 2018 08:36:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536654985; bh=VYO1dPNu+PynQthrcAInyDKH+FO9NPygZV/Vfne1s7A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fY4euzwZ4e9yfQMviiod5eXVC+hGBKOb02NiHcyjtcOpTvYHCsJho2HkghC1acez/ 0GsJK3zLM36NPxJmL7LAemE3aMzJTtuj5mSQzSbz1X8aRmxVuBcdMFg31psqRkAUsc ysPk7itnSuepXko+VdFr3GUtA0XAgJeJx0C6/KCY= From: Vinod Koul To: dmaengine@vger.kernel.org Cc: Vinod Koul , Ludovic Desroches Subject: [PATCH 01/12] dmaengine: at_hdmac: remove dma_slave_config direction usage Date: Tue, 11 Sep 2018 14:05:25 +0530 Message-Id: <20180911083536.16482-2-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180911083536.16482-1-vkoul@kernel.org> References: <20180911083536.16482-1-vkoul@kernel.org> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org dma_slave_config direction was marked as deprecated quite some time back, remove the usage from this driver so that the field can be removed Signed-off-by: Vinod Koul --- CC: Ludovic Desroches drivers/dma/at_hdmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.4 diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index 75f38d19fcbe..7cbac6e8c113 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c @@ -1320,7 +1320,7 @@ atc_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, if (unlikely(!is_slave_direction(direction))) goto err_out; - if (sconfig->direction == DMA_MEM_TO_DEV) + if (direction == DMA_MEM_TO_DEV) reg_width = convert_buswidth(sconfig->dst_addr_width); else reg_width = convert_buswidth(sconfig->src_addr_width);