From: Xiang Wang Date: Tue, 18 Jun 2013 06:55:58 +0000 (+0800) Subject: dma: mmp_pdma: add protect when alloc/free phy channels X-Git-Tag: v3.12-rc1~68^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=027f28b7bb589d726e3b6274a7d9272336522c65;p=pandora-kernel.git dma: mmp_pdma: add protect when alloc/free phy channels In mmp pdma, phy channels are allocated/freed dynamically and frequently. But no proper protection is added. Conflict will happen when multi-users are requesting phy channels at the same time. Use spinlock to protect. Signed-off-by: Xiang Wang Signed-off-by: Vinod Koul --- Reading git-diff-tree failed