]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00289859 PXP: fix that multi users may access PXP hardware simultaneously
authorFancy Fang <B47543@freescale.com>
Wed, 27 Nov 2013 08:41:38 +0000 (16:41 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:46 +0000 (10:06 +0200)
commit39f113b1e1b7f776dc00b4569c493a20dbafee1a
treec65f1ab106fada8a2be338a2d6bb7950a4d9608e
parentc8f00879618238352644fe3907647acbb3ba00f3
ENGR00289859 PXP: fix that multi users may access PXP hardware simultaneously

After the patch 6320ada11093ef0a4ded9065d6ae284a9129f7d6, there still exists
some cases that more than one user would set PXP hardware registers before the
previous task done. Now use another mutex lock to make sure that registers
settings can only happen when PXP hardware is idle.

Signed-off-by: Fancy Fang <B47543@freescale.com>
drivers/dma/pxp/pxp_dma_v2.c