Re: [PATCH 1/2] dma: imx-sdma: use module_platform_driver for SDMA driver

2014-08-04 Thread Vignesh Raman
On Monday 04 August 2014 02:08 PM, Vinod Koul wrote: > On Mon, Aug 04, 2014 at 02:11:01PM +0530, Vignesh Raman wrote: >> On Thursday 31 July 2014 05:30 PM, Vinod Koul wrote: >>> On Wed, Jul 30, 2014 at 06:41:14PM +0530, Vignesh Raman wrote: Currently there is no module_exit declared in SDMA dr

Re: [PATCH 1/2] dma: imx-sdma: use module_platform_driver for SDMA driver

2014-08-04 Thread Vinod Koul
On Mon, Aug 04, 2014 at 02:11:01PM +0530, Vignesh Raman wrote: > On Thursday 31 July 2014 05:30 PM, Vinod Koul wrote: > > On Wed, Jul 30, 2014 at 06:41:14PM +0530, Vignesh Raman wrote: > >> Currently there is no module_exit declared in SDMA driver, so that once > >> sdma module is inserted, it's sh

Re: [PATCH 1/2] dma: imx-sdma: use module_platform_driver for SDMA driver

2014-08-04 Thread Vignesh Raman
On Thursday 31 July 2014 05:30 PM, Vinod Koul wrote: > On Wed, Jul 30, 2014 at 06:41:14PM +0530, Vignesh Raman wrote: >> Currently there is no module_exit declared in SDMA driver, so that once >> sdma module is inserted, it's shown with permanent attribute by lsmod, >> and it can't be removed. >> U

Re: [PATCH 1/2] dma: imx-sdma: use module_platform_driver for SDMA driver

2014-07-31 Thread Vinod Koul
On Wed, Jul 30, 2014 at 06:41:14PM +0530, Vignesh Raman wrote: > Currently there is no module_exit declared in SDMA driver, so that once > sdma module is inserted, it's shown with permanent attribute by lsmod, > and it can't be removed. > Use module_platform_driver to register/unregister SDMA drive

[PATCH 1/2] dma: imx-sdma: use module_platform_driver for SDMA driver

2014-07-30 Thread Vignesh Raman
Currently there is no module_exit declared in SDMA driver, so that once sdma module is inserted, it's shown with permanent attribute by lsmod, and it can't be removed. Use module_platform_driver to register/unregister SDMA driver and modify SDMA's remove operation, to make SDMA driver possible to b