diff options
author | Nikhil Rao <nikhil.rao@intel.com> | 2020-06-22 23:38:34 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-06-24 08:47:46 +0300 |
commit | 66983bc18fad17d10766650b3685045f6f092d73 (patch) | |
tree | d37c1f3ae350218ad08902cef5f72e5b06b92c6e /drivers/dma/ti | |
parent | 2f57b8d57673af2c2caf8c2c7bef01be940a5c2c (diff) | |
download | linux-66983bc18fad17d10766650b3685045f6f092d73.tar.xz |
dmaengine: idxd: fix cdev locking for open and release
add the wq lock in cdev open and release call. This fixes
race conditions observed in the open and close routines.
Fixes: 42d279f9137a ("dmaengine: idxd: add char driver to expose submission portal to userland")
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/159285824892.64944.2905413694915141834.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/ti')
0 files changed, 0 insertions, 0 deletions