[PATCH 2/3] ath10k: use dma_zalloc_coherent()

2017-01-23 Thread Srinivas Kandagatla
use dma_zalloc_coherent() instead of dma_alloc_coherent and memset(). Signed-off-by: Srinivas Kandagatla <srinivas.kandaga...@linaro.org> --- drivers/net/wireless/ath/ath10k/ce.c | 9 + drivers/net/wireless/ath/ath10k/pci.c | 3 +-- 2 files changed, 2 insertions(+), 10 del

[PATCH 3/3] ath10k: fix typo in addr calculation

2017-01-23 Thread Srinivas Kandagatla
CORE_CTRL_ADDRESS is offset in register address space, it does not make sense to OR it to derive the final address. It looks like its a typo, so fix it. Signed-off-by: Srinivas Kandagatla <srinivas.kandaga...@linaro.org> --- drivers/net/wireless/ath/ath10k/pci.c | 2 +- 1 file chan

[PATCH 1/3] ath10k: remove multiple defines of DIAG_TRANSFER_LIMIT

2017-01-23 Thread Srinivas Kandagatla
DIAG_TRANSFER_LIMIT is redefined with same value and comments just below this entry, remove this duplicate entry. Signed-off-by: Srinivas Kandagatla <srinivas.kandaga...@linaro.org> --- drivers/net/wireless/ath/ath10k/pci.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drive

Re: [PATCH] remove lots of IS_ERR_VALUE abuses

2016-05-27 Thread Srinivas Kandagatla
+++--- For nvmem part, Acked-by: Srinivas Kandagatla <srinivas.kandaga...@linaro.org> drivers/tty/serial/amba-pl011.c | 2 +- drivers/tty/serial/sprd_serial.c | 2 +- drivers/video/fbdev/da8xx-fb.c | 4 ++-- fs/afs/w