Messages in this thread | | | Date | Wed, 14 Feb 2024 18:09:08 +0000 | Subject | Re: [PATCH net-next v3 1/7] dma: compile-out DMA sync op calls when not used | From | Robin Murphy <> |
| |
On 2024-02-14 4:21 pm, Alexander Lobakin wrote: [...] > +static inline bool dma_skip_sync(const struct device *dev) > +{ > + return !IS_ENABLED(CONFIG_DMA_NEED_SYNC); > +}
One more thing, could we please also make this conditional on !CONFIG_DMA_API_DEBUG so that that doesn't lose coverage for validating syncs?
Thanks, Robin.
| |