[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180808205752.llowh4bvu2wkuhga@ninjato>
Date: Wed, 8 Aug 2018 22:57:53 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Jun Gao <jun.gao@...iatek.com>
Cc: srv_heupstream@...iatek.com, devicetree@...r.kernel.org,
linux-i2c@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH v2 2/3] i2c: Add helper to ease DMA handling
On Sat, Jul 07, 2018 at 05:29:54PM +0800, Jun Gao wrote:
> From: Jun Gao <jun.gao@...iatek.com>
>
> This function is needed by i2c_get_dma_safe_msg_buf() potentially.
> It is used to free DMA safe buffer when DMA operation fails.
>
> Signed-off-by: Jun Gao <jun.gao@...iatek.com>
Right, we need something like this. This leaks in the sh_mobile driver,
too :(
I am still thinking if there is a nice way to put this functionality
into i2c_release_dma_safe_msg_buf() itself somehow...
Thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists