[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150930080028.GF21690@vkoul-mobl.iind.intel.com>
Date: Wed, 30 Sep 2015 13:30:28 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Peter Ujfalusi <peter.ujfalusi@...com>
Cc: dan.j.williams@...el.com, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dmaengine: fix balance of privatecnt
On Thu, Sep 24, 2015 at 12:03:35PM +0300, Peter Ujfalusi wrote:
> dma_release_channel() decrements privatecnt counter and almost all dma_get*
> function increments it with the exception of dma_get_slave_channel().
> In most cases this does not cause issue since normally the channel is not
> requested and released, but if a driver requests DMA channel via
> dma_get_slave_channel() and releases the channel the privatecnt will be
> unbalanced and this will prevent for example getting channel for memcpy.
Applied, thanks
--
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists