dmaengine.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Vinod Koul <vkoul@kernel.org>
Cc: dmaengine@vger.kernel.org
Subject: [08/12] dmaengine: idma: remove dma_slave_config direction usage
Date: Fri, 21 Sep 2018 20:04:19 +0300	[thread overview]
Message-ID: <20180921170419.GD15943@smile.fi.intel.com> (raw)

On Tue, Sep 11, 2018 at 02:05:32PM +0530, Vinod Koul wrote:
> 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
> 

Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> ---
> CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> 
>  drivers/dma/idma64.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/dma/idma64.c b/drivers/dma/idma64.c
> index 1fbf9cb9b742..40dc5d2ddf3d 100644
> --- a/drivers/dma/idma64.c
> +++ b/drivers/dma/idma64.c
> @@ -408,10 +408,6 @@ static int idma64_slave_config(struct dma_chan *chan,
>  {
>  	struct idma64_chan *idma64c = to_idma64_chan(chan);
>  
> -	/* Check if chan will be configured for slave transfers */
> -	if (!is_slave_direction(config->direction))
> -		return -EINVAL;
> -
>  	memcpy(&idma64c->config, config, sizeof(idma64c->config));
>  
>  	convert_burst(&idma64c->config.src_maxburst);
> -- 
> 2.14.4
>

             reply	other threads:[~2018-09-21 17:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-21 17:04 Andy Shevchenko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-09-11  8:35 [08/12] dmaengine: idma: remove dma_slave_config direction usage Vinod Koul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180921170419.GD15943@smile.fi.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).