diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-10-12 13:00:50 +0000 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-10-19 15:17:06 -0700 |
commit | 730c1871680774ea0700debc2981c7a53f51d92e (patch) | |
tree | 0d3db14d2e241d060c749c183ffa124da4f946fc /drivers/dma | |
parent | ce2ca1252ba8688a4997b4104793540f4c28c0d8 (diff) | |
download | op-kernel-dev-730c1871680774ea0700debc2981c7a53f51d92e.zip op-kernel-dev-730c1871680774ea0700debc2981c7a53f51d92e.tar.gz |
ste_dma40: move priority to separate field
And keep it low priority by default.
Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/ste_dma40_ll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ste_dma40_ll.c b/drivers/dma/ste_dma40_ll.c index 86a306d..cfc86a5 100644 --- a/drivers/dma/ste_dma40_ll.c +++ b/drivers/dma/ste_dma40_ll.c @@ -108,7 +108,7 @@ void d40_phy_cfg(struct stedma40_chan_cfg *cfg, src |= 1 << D40_SREG_CFG_LOG_GIM_POS; } - if (cfg->channel_type & STEDMA40_HIGH_PRIORITY_CHANNEL) { + if (cfg->high_priority) { src |= 1 << D40_SREG_CFG_PRI_POS; dst |= 1 << D40_SREG_CFG_PRI_POS; } |