mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
dma: 调用spin_lock_init,正确初始化dma的lock
This commit is contained in:
@@ -726,6 +726,7 @@ static int __init rk28_dma_init(void)
|
||||
rk2818_dma[i].residue = 0;
|
||||
rk2818_dma[i].length = 0;
|
||||
rk2818_dma[i].tasklet_flag = 0;
|
||||
spin_lock_init(&rk2818_dma[i].lock);
|
||||
}
|
||||
|
||||
/* clear all interrupts */
|
||||
|
||||
Reference in New Issue
Block a user