Re: [RESEND][PATCH v1] dmaengine: sh: Discard pm_runtime_put() return value
From: Rafael J. Wysocki
Date: Fri Jan 09 2026 - 07:27:01 EST
On Fri, Jan 9, 2026 at 3:42 AM Vinod Koul <vkoul@xxxxxxxxxx> wrote:
>
> On 08-01-26, 16:28, Rafael J. Wysocki wrote:
> > From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> >
> > Clobbering an error value to be returned from shdma_tx_submit() with
> > a pm_runtime_put() return value is not particularly useful, especially
> > if the latter is 0, so stop doing that.
> >
> > This will facilitate a planned change of the pm_runtime_put() return
> > type to void in the future.
>
> Hey Rafael,
>
> This is commit b442377c0ea2044a8f50ffa3fe59448f9ed922c in my tree.
Cool, thanks!