diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-10-12 17:00:50 +0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-10-20 02:17:06 +0400 |
commit | 730c1871680774ea0700debc2981c7a53f51d92e (patch) | |
tree | 0d3db14d2e241d060c749c183ffa124da4f946fc /drivers/dma/ste_dma40_ll.c | |
parent | ce2ca1252ba8688a4997b4104793540f4c28c0d8 (diff) | |
download | linux-730c1871680774ea0700debc2981c7a53f51d92e.tar.xz |
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/ste_dma40_ll.c')
-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 86a306dbe1b4..cfc86a56d66f 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; } |