Linux SPI subsystem development
 help / color / mirror / Atom feed
From: Vladimir Oltean <olteanv@gmail.com>
To: andy.shevchenko@gmail.com
Cc: Mark Brown <broonie@kernel.org>,
	linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org,
	Minjie Du <duminjie@vivo.com>
Subject: Re: [PATCH v2 1/2] spi: fsl-dspi: Preserve error code returned by dmaengine_slave_config()
Date: Mon, 5 Feb 2024 13:11:31 +0200	[thread overview]
Message-ID: <20240205111131.sk46mukva6ewmqlk@skbuf> (raw)
In-Reply-To: <20240204203127.1186621-2-andy.shevchenko@gmail.com>

On Sun, Feb 04, 2024 at 10:29:18PM +0200, andy.shevchenko@gmail.com wrote:
> dmaengine_slave_config() may return different error codes based on
> the circumstances. Preserve it instead of shadowing to -EINVAL.
> 
> Suggested-by: Vladimir Oltean <olteanv@gmail.com>
> Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
> ---

Reviewed-by: Vladimir Oltean <olteanv@gmail.com>

  reply	other threads:[~2024-02-05 11:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-04 20:29 [PATCH v2 0/2] spi: fsl-dspi: A couple of error handling improvements andy.shevchenko
2024-02-04 20:29 ` [PATCH v2 1/2] spi: fsl-dspi: Preserve error code returned by dmaengine_slave_config() andy.shevchenko
2024-02-05 11:11   ` Vladimir Oltean [this message]
2024-02-04 20:29 ` [PATCH v2 2/2] spi: fsl-dspi: Unify error messaging in dspi_request_dma() andy.shevchenko
2024-02-05 11:12   ` Vladimir Oltean
2024-02-06 12:09 ` [PATCH v2 0/2] spi: fsl-dspi: A couple of error handling improvements Mark Brown

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=20240205111131.sk46mukva6ewmqlk@skbuf \
    --to=olteanv@gmail.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=broonie@kernel.org \
    --cc=duminjie@vivo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.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