On Fri, 21 Oct 2016, Geert Uytterhoeven wrote:
> Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be>
> Acked-by: Rob Herring <r...@kernel.org>
> ---
> v2:
> - Add Acked-by.
> ---
Acked-by: Peter Griffin <peter.grif...@linaro.org>
If kzalloc() fails it will issue it's own error message including
a dump_stack(). So remove the site specific error messages.
Signed-off-by: Peter Griffin <peter.grif...@linaro.org>
---
drivers/dma/amba-pl08x.c| 10 +-
drivers/dma/bestcomm/bestcomm.c | 2 --
drivers/dma/
There is no point calculating the residue if there is
no txstate to store the value.
Signed-off-by: Peter Griffin <peter.grif...@linaro.org>
---
drivers/dma/tegra20-apb-dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/t
There is no point in calculating the residue if state does not
exist to store the value.
Signed-off-by: Peter Griffin <peter.grif...@linaro.org>
---
drivers/dma/sun6i-dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/sun6i-dma.c b/drivers/dma/sun6i-dma.c
There is no point calculating the residue if there is
no txstate to store the value.
Signed-off-by: Peter Griffin <peter.grif...@linaro.org>
---
drivers/dma/ste_dma40.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c
Doing so saves a few lines of code in the driver.
Signed-off-by: Peter Griffin <peter.grif...@linaro.org>
---
drivers/dma/s3c24xx-dma.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c
index 17ccdfd..f7d2c7a
There is no point in calculating the residue if there is no
txstate to store the value.
Signed-off-by: Peter Griffin <peter.grif...@linaro.org>
---
drivers/dma/coh901318.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c
It is useful to print the error code as part of the error
message.
Signed-off-by: Peter Griffin <peter.grif...@linaro.org>
---
drivers/dma/fsl-edma.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/fsl-edma.c b/drivers/dma/fsl-edma.c
index 7208fc9..c
Currently fsl-edma doesn't clk_disable_unprepare()
its clocks on error conditions. This patch adds a
fsl_disable_clocks helper for this, and also only
disables clocks which were enabled if encountering
an error whilst enabling clocks.
Signed-off-by: Peter Griffin <peter.grif...@linaro.
Hi Vinod,
This series is a bunch of cleanup updates to various
dmaengine drivers, based on some of the review feeback to my fdma series.
regards,
Peter.
Peter Griffin (8):
dmaengine: fsl-edma: Fix clock handling error paths
dmaengine: fsl-edma: print error code in error messages
10 matches
Mail list logo