diff options
| author | Linus Walleij <[email protected]> | 2012-04-12 09:01:49 +0200 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2012-04-25 15:21:47 +0530 |
| commit | affa115ed365d646ad1a8cc7d2d063b8181cce37 (patch) | |
| tree | df3d7caa7a0e42228312d6974977e1903306f891 /include/linux | |
| parent | d29bf01941795891828bf671f74c3a4f6fc3517f (diff) | |
dma/amba-pl08x: add support for the Nomadik variant
The Nomadik PL080 variant has some extra protection bits that
may be set, so we need to check these bits to see if the
channels are actually available for the DMAengine to use.
Cc: Russell King <[email protected]>
Cc: Alim Akhtar <[email protected]>
Cc: Alessandro Rubini <[email protected]>
Reviewed-by: Viresh Kumar <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/amba/pl08x.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/amba/pl08x.h b/include/linux/amba/pl08x.h index e64ce2cfee99..02549017212a 100644 --- a/include/linux/amba/pl08x.h +++ b/include/linux/amba/pl08x.h @@ -92,6 +92,8 @@ struct pl08x_bus_data { * right now * @serving: the virtual channel currently being served by this physical * channel + * @locked: channel unavailable for the system, e.g. dedicated to secure + * world */ struct pl08x_phy_chan { unsigned int id; @@ -99,6 +101,7 @@ struct pl08x_phy_chan { spinlock_t lock; int signal; struct pl08x_dma_chan *serving; + bool locked; }; /** |