Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dmaengine: stm32-dma: make stm32_dma_set_config static | Vinod Koul | 2016-09-26 | 1 | -1/+1 |
| | | | | | | | | | | Sparse complains: drivers/dma/stm32-dma.c:957:6: warning: symbol 'stm32_dma_set_config' was not declared. Should it be static? SO make stm32_dma_set_config static. Signed-off-by: Vinod Koul <vinod.koul@intel.com> | ||||
* | dmaengine: stm32-dma: Fix unchecked deference of chan->desc | M'boumba Cedric Madianga | 2015-12-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | 'commit d8b468394fb7 ("dmaengine: Add STM32 DMA driver")' leads to the following Smatch complaint: drivers/dma/stm32-dma.c:562 stm32_dma_issue_pending() error: we previously assumed 'chan->desc' could be null (see line 560) So, this patch fixes the unchecked dereference of chan->desc by returning operation not permitted error when stm32_dma_start_transfer() does not succeed to allocate a virtual channel descriptor. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@gmail.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> | ||||
* | dmaengine: Add STM32 DMA driver | M'boumba Cedric Madianga | 2015-11-16 | 1 | -0/+1141 |
This patch adds support for the STM32 DMA controller. Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@gmail.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> |