]> 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>
Mon, 16 Jun 2014 16:08:45 +0000 (18:08 +0200)
commitf392940f4a19a3f724752c27a2403dd4445a73a9
tree35d5ff1a3cb1337bc19acb0e5abaed1957585834
parent0d06a13a775e72eda9452047a076c896914592ba
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