ste_dma40: move priority to separate field

And keep it low priority by default.

Acked-by: Jonas Aaberg <[email protected]>
Signed-off-by: Rabin Vincent <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
This commit is contained in:
Rabin Vincent 2010-10-12 13:00:50 +00:00 • committed by Dan Williams
commit 730c187168
3 changed files with 3 additions and 8 deletions

View file

@ -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;
}