diff options
author | Nicolin Chen <Guangyu.Chen@freescale.com> | 2014-07-23 19:23:38 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-25 18:52:35 +0100 |
commit | f4075a8f452aff5465c6522c92da9db71ed11b7f (patch) | |
tree | 3f2b3e6eb22153c8a27e84abcb76d92c1dbbe058 /crypto/ahash.c | |
parent | 4800f88b615f194ae3c1577038a7ccd871c907c9 (diff) | |
download | linux-f4075a8f452aff5465c6522c92da9db71ed11b7f.tar.bz2 |
ASoC: fsl_sai: Reduce race condition during TE/RE enabling
For trigger start, we don't need to check if it's the first time to
enable TE/RE or second time. It doesn't hurt to enable them any way,
which in the meantime can reduce race condition for TE/RE enabling.
For trigger stop, we will definitely clear FRDE of current direction.
Thus the driver only needs to read the opposite one's.
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'crypto/ahash.c')
0 files changed, 0 insertions, 0 deletions