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

2014-08-05 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

[PATCH v2 2/2] dma: imx-sdma: Adding tasklet_kill() in sdma_remove function.

2014-08-05 Thread Vignesh Raman
Several dma drivers calls tasklet_kill() in remove function. This is done because all running tasklets should be killed on remove. This is missing in imx sdma driver, so adding tasklet_kill() in sdma_remove function. Signed-off-by: Vignesh Raman --- drivers/dma/imx-sdma.c |7 +++ 1 file

[PATCH v2 0/2] dma: imx-sdma: Modify SDMA's remove operation

2014-08-05 Thread Vignesh Raman
This is a patch set which contains two patches which modify's sdma_remove operation and add tasklet_kill in sdma_remove function. Vignesh Raman (2): dma: imx-sdma: use module_platform_driver for SDMA driver dma: imx-sdma: Adding tasklet_kill() in sdma_remove function. drivers/dma/imx

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

2014-08-05 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 n

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

2014-08-05 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 driver, so

[PATCH v2 0/2] dma: imx-sdma: Modify SDMA's remove operation

2014-08-05 Thread Vignesh Raman
This is a patch set which contains two patches which modify's sdma_remove operation and add tasklet_kill in sdma_remove function. Vignesh Raman (2): dma: imx-sdma: use module_platform_driver for SDMA driver dma: imx-sdma: Adding tasklet_kill() in sdma_remove function. drivers/dma/imx

[PATCH v2 2/2] dma: imx-sdma: Adding tasklet_kill() in sdma_remove function.

2014-08-05 Thread Vignesh Raman
Several dma drivers calls tasklet_kill() in remove function. This is done because all running tasklets should be killed on remove. This is missing in imx sdma driver, so adding tasklet_kill() in sdma_remove function. Signed-off-by: Vignesh Raman vignesh_ra...@mentor.com --- drivers/dma/imx

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

2014-08-05 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

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, >> an

Re: [PATCH 2/2] dma: imx-sdma: Adding tasklet_kill() in sdma_remove function.

2014-08-04 Thread Vignesh Raman
On Friday 01 August 2014 10:15 PM, Vinod Koul wrote: > On Fri, Aug 01, 2014 at 07:36:53PM +0530, Vignesh Raman wrote: >> On Thursday 31 July 2014 05:32 PM, Vinod Koul wrote: >>> On Wed, Jul 30, 2014 at 06:41:15PM +0530, Vignesh Raman wrote: >>>> Several dma drivers

Re: [PATCH 2/2] dma: imx-sdma: Adding tasklet_kill() in sdma_remove function.

2014-08-04 Thread Vignesh Raman
On Friday 01 August 2014 10:15 PM, Vinod Koul wrote: On Fri, Aug 01, 2014 at 07:36:53PM +0530, Vignesh Raman wrote: On Thursday 31 July 2014 05:32 PM, Vinod Koul wrote: On Wed, Jul 30, 2014 at 06:41:15PM +0530, Vignesh Raman wrote: Several dma drivers calls tasklet_kill() in remove function

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. Use

Re: [PATCH 2/2] dma: imx-sdma: Adding tasklet_kill() in sdma_remove function.

2014-08-01 Thread Vignesh Raman
On Thursday 31 July 2014 05:32 PM, Vinod Koul wrote: > On Wed, Jul 30, 2014 at 06:41:15PM +0530, Vignesh Raman wrote: >> Several dma drivers calls tasklet_kill() in remove function. This is missing >> in >> imx driver, so adding tasklet_kill() in sdma_remove function. &

Re: [PATCH 2/2] dma: imx-sdma: Adding tasklet_kill() in sdma_remove function.

2014-08-01 Thread Vignesh Raman
On Thursday 31 July 2014 05:32 PM, Vinod Koul wrote: On Wed, Jul 30, 2014 at 06:41:15PM +0530, Vignesh Raman wrote: Several dma drivers calls tasklet_kill() in remove function. This is missing in imx driver, so adding tasklet_kill() in sdma_remove function. And why should we do

[PATCH 2/2] dma: imx-sdma: Adding tasklet_kill() in sdma_remove function.

2014-07-30 Thread Vignesh Raman
Several dma drivers calls tasklet_kill() in remove function. This is missing in imx driver, so adding tasklet_kill() in sdma_remove function. Signed-off-by: Vignesh Raman --- drivers/dma/imx-sdma.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/dma/imx-sdma.c b/drivers

[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

[PATCH 0/2] dma: imx-sdma: Modify SDMA's remove operation

2014-07-30 Thread Vignesh Raman
This is a patch set which contains two patches which modify's sdma_remove operation and add tasklet_kill in sdma_remove function. Vignesh Raman (2): dma: imx-sdma: use module_platform_driver for SDMA driver dma: imx-sdma: Adding tasklet_kill() in sdma_remove function. drivers/dma/imx

[PATCH 0/2] dma: imx-sdma: Modify SDMA's remove operation

2014-07-30 Thread Vignesh Raman
This is a patch set which contains two patches which modify's sdma_remove operation and add tasklet_kill in sdma_remove function. Vignesh Raman (2): dma: imx-sdma: use module_platform_driver for SDMA driver dma: imx-sdma: Adding tasklet_kill() in sdma_remove function. drivers/dma/imx

[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

[PATCH 2/2] dma: imx-sdma: Adding tasklet_kill() in sdma_remove function.

2014-07-30 Thread Vignesh Raman
Several dma drivers calls tasklet_kill() in remove function. This is missing in imx driver, so adding tasklet_kill() in sdma_remove function. Signed-off-by: Vignesh Raman vignesh_ra...@mentor.com --- drivers/dma/imx-sdma.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/dma