summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2010-04-27 19:45:12 +0530
committerYu-Huan Hsu <yhsu@nvidia.com>2010-04-29 18:33:27 -0700
commit1743f5918df4a4be189ac5d408c76ed25a065760 (patch)
treebe8c9410a6b9322723a80d145c87d7d902a1e379 /arch/arm
parent1a4730e2463f485cd49e9f196d2c0f4cf0cd1b01 (diff)
tegra dma: Correcting the typo error.
Correcting the spelling error in enum definition TEGRA_DMA_REQ_ERROR_ABOTRED to TEGRA_DMA_REQ_ERROR_ABORTED. Tested on harmony. Change-Id: Ie28aea9f87c1a0a2d3f27ce6132fb3eb48eb59e6 Reviewed-on: http://git-master/r/1225 Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com> Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Tested-by: Ramachandrudu Kandhala <rkandhala@nvidia.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-tegra/dma.c2
-rw-r--r--arch/arm/mach-tegra/include/mach/dma.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/dma.c b/arch/arm/mach-tegra/dma.c
index 7d1108cd8037..8efb1bbaa7b6 100644
--- a/arch/arm/mach-tegra/dma.c
+++ b/arch/arm/mach-tegra/dma.c
@@ -330,7 +330,7 @@ int tegra_dma_dequeue_req(int channel, struct tegra_dma_req *_req)
typeof(*next_req), list);
tegra_dma_update_hw(ch, next_req);
}
- req->status = -TEGRA_DMA_REQ_ERROR_ABOTRED;
+ req->status = -TEGRA_DMA_REQ_ERROR_ABORTED;
req->req_state = TEGRA_DMA_REQ_STATE_COMPLETE;
spin_unlock_irqrestore(&ch->lock, irq_flags);
diff --git a/arch/arm/mach-tegra/include/mach/dma.h b/arch/arm/mach-tegra/include/mach/dma.h
index 6f602eca5814..09ce22bede7a 100644
--- a/arch/arm/mach-tegra/include/mach/dma.h
+++ b/arch/arm/mach-tegra/include/mach/dma.h
@@ -31,7 +31,7 @@ typedef enum {
typedef enum {
TEGRA_DMA_REQ_SUCCESS = 0,
- TEGRA_DMA_REQ_ERROR_ABOTRED = 1,
+ TEGRA_DMA_REQ_ERROR_ABORTED = 1,
} tegra_dma_req_error_t;
typedef enum {