Re: [PATCH v2 02/17] driver core: Add dma_unconfigure callback in bus_type

2021-11-28 Thread Lu Baolu
On 11/28/21 4:02 PM, Greg Kroah-Hartman wrote: On Sun, Nov 28, 2021 at 10:50:36AM +0800, Lu Baolu wrote: The bus_type structure defines dma_configure() callback for bus drivers to configure DMA on the devices. This adds the paired dma_unconfigure() callback and calls it during driver unbinding

Re: [PATCH v2 02/17] driver core: Add dma_unconfigure callback in bus_type

2021-11-28 Thread Greg Kroah-Hartman
On Sun, Nov 28, 2021 at 10:50:36AM +0800, Lu Baolu wrote: > The bus_type structure defines dma_configure() callback for bus drivers > to configure DMA on the devices. This adds the paired dma_unconfigure() > callback and calls it during driver unbinding so that bus drivers can do > some cleanup

[PATCH v2 02/17] driver core: Add dma_unconfigure callback in bus_type

2021-11-27 Thread Lu Baolu
The bus_type structure defines dma_configure() callback for bus drivers to configure DMA on the devices. This adds the paired dma_unconfigure() callback and calls it during driver unbinding so that bus drivers can do some cleanup work. One use case for this paired DMA callbacks is for the bus