[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aGPobZ6reAWrRtV0@smile.fi.intel.com>
Date: Tue, 1 Jul 2025 16:53:49 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Thomas Fourier <fourier.thomas@...il.com>
Cc: Jiri Slaby <jirislaby@...nel.org>,
Tomoya MORINAGA <tomoya-linux@....okisemi.com>,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org
Subject: Re: [PATCH v3] pch_uart: Fix dma_sync_sg_for_device() nents value
On Tue, Jul 01, 2025 at 01:34:52PM +0200, Thomas Fourier wrote:
> The dma_sync_sg_for_device() functions should be called with the same
> nents as the dma_map_sg(), not the value the map function returned
> according to the documentation in Documentation/core-api/dma-api.rst:450:
> With the sync_sg API, all the parameters must be the same
> as those passed into the sg mapping API.
Good enough to me,
Reviewed-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists