[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YlQ5uOk4WPXAfV0V@matsya>
Date: Mon, 11 Apr 2022 19:52:48 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
dmaengine@...r.kernel.org
Subject: Re: [PATCH] dmaengine: Remove a useless mutex
On 06-02-22, 10:47, Christophe JAILLET wrote:
> According to lib/idr.c,
> The IDA handles its own locking. It is safe to call any of the IDA
> functions without synchronisation in your code.
>
> so the 'chan_mutex' mutex can just be removed.
> It is here only to protect some ida_alloc()/ida_free() calls.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists