Re: [PATCH] staging: rtl8192e: from bus specific dma api to dma api

2014-10-29 Thread Sudip Mukherjee
On Wed, Oct 29, 2014 at 04:47:25PM +0800, Greg Kroah-Hartman wrote: > On Wed, Oct 22, 2014 at 02:24:46PM +0530, Sudip Mukherjee wrote: > > we should be using DMA API rather than using bus specific DMA API. > > Why? > as given in the DMA-API-HOWTO.txt : the DMA API works with any bus independent

Re: [PATCH] staging: rtl8192e: from bus specific dma api to dma api

2014-10-29 Thread Greg Kroah-Hartman
On Wed, Oct 22, 2014 at 02:24:46PM +0530, Sudip Mukherjee wrote: > we should be using DMA API rather than using bus specific DMA API. Why? > converted the occurrence of pci_map_*() to dma_map_*(), > and at the same time used the dma_mapping_error(). Trailing whitespace :( What have you us

[PATCH] staging: rtl8192e: from bus specific dma api to dma api

2014-10-22 Thread Sudip Mukherjee
we should be using DMA API rather than using bus specific DMA API. converted the occurrence of pci_map_*() to dma_map_*(), and at the same time used the dma_mapping_error(). Signed-off-by: Sudip Mukherjee --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 12 ++-- drivers/stagi