commit | 0f2f02d1b57220951b9ae69abbcaa403163ee41b | [log] [tgz] |
---|---|---|
author | Gilad Ben-Yossef <gilad@benyossef.com> | Sun Jun 25 10:47:24 2017 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jun 25 16:29:15 2017 +0200 |
tree | 41182d19f34656dc3226d7ec6f3b008dd233ee74 | |
parent | d255b343f52b78acff3d0af95b235a3b4f353377 [diff] |
staging: ccree: use signal safe completion wait We were waiting for a completion notification of HW DMA operation using an interruptible wait which can result in data corruption if a signal interrupted us while DMA was not yet completed. Fix this by moving to uninterrupted wait. Fixes: abefd6741d ("staging: ccree: introduce CryptoCell HW driver"). Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>