From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: Felix Gu <ustc.gu@gmail.com>
Cc: Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
Mark Brown <broonie@kernel.org>,
Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>,
linux-spi@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] spi: rzv2h-rspi: Fix DMA transfer error handling for signal interruption
Date: Mon, 29 Jun 2026 18:33:03 +0200 [thread overview]
Message-ID: <akKeP6CL7vHDImQY@shikoro> (raw)
In-Reply-To: <20260627-rspi-v1-1-170c93ee14da@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 529 bytes --]
On Sat, Jun 27, 2026 at 12:02:29AM +0800, Felix Gu wrote:
> wait_event_interruptible_timeout() can return a negative error code when
> interrupted by a signal. The original code treated all non-zero return
> values as success, which would incorrectly synchronize DMA channels and
> return 0 instead of propagating the interruption error.
>
> Fixes: fa08b566860b ("spi: rzv2h-rspi: add support for DMA mode")
> Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2026-06-29 16:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-26 16:02 [PATCH] spi: rzv2h-rspi: Fix DMA transfer error handling for signal interruption Felix Gu
2026-06-26 16:42 ` Wolfram Sang
2026-06-29 10:22 ` Cosmin-Gabriel Tanislav
2026-06-29 10:29 ` Fabrizio Castro
2026-06-29 10:32 ` wsa+renesas
2026-06-29 14:33 ` Cosmin-Gabriel Tanislav
2026-06-29 16:32 ` wsa+renesas
2026-06-29 16:33 ` Wolfram Sang [this message]
2026-06-30 18:58 ` 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=akKeP6CL7vHDImQY@shikoro \
--to=wsa+renesas@sang-engineering.com \
--cc=broonie@kernel.org \
--cc=cosmin-gabriel.tanislav.xa@renesas.com \
--cc=fabrizio.castro.jz@renesas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=ustc.gu@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.