mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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:
parent
ce2ca1252b
commit
730c187168
3 changed files with 3 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue