commit | 70a2d04d19e6d6d65728de1d2618cf87cedbb941 | [log] [tgz] |
---|---|---|
author | Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com> | Fri Nov 08 11:09:51 2019 +0100 |
committer | Brent Lu <brent.lu@intel.com> | Fri Apr 01 07:43:57 2022 +0800 |
tree | 76015e821224c7465bf3b24fb65390d84c599677 | |
parent | 54a656c1655ea0295410ec0126d4e379d88aa95f [diff] |
dmic: change spin_lock to spin_try_lock in dmic_work() In order to avoid dead locks in dmic_work I've replaced spin_lock() with spin_try_lock(). In case when spin_try_lock() fails we reschedule dmic work. Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com> (cherry picked from commit 6a0cf6740f705e216a3d132c8b05b84d2f8d0bad)
See docs
mkdir build && cd build
Baytrail / Cherrytrail:
cmake -DTOOLCHAIN=xtensa-byt-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-byt-elf ..
Haswell / Broadwell:
cmake -DTOOLCHAIN=xtensa-hsw-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-hsw-elf ..
Apollolake:
cmake -DTOOLCHAIN=xtensa-apl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-apl-elf ..
Cannonlake:
cmake -DTOOLCHAIN=xtensa-cnl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-cnl-elf ..
Baytrail:
make baytrail_defconfig
Cherrytrail:
make cherrytrail_defconfig
Haswell:
make haswell_defconfig
Broadwell:
make broadwell_defconfig
Apollolake:
make apollolake_defconfig
Cannonlake:
make cannonlake_defconfig
make menuconfig
make bin # or `make bin -j<jobs>` for parallel build
See unit testing documentation
TODO: Add additional notes about how to deploy this on a live system
See Contributing to the Project
This project is licensed under the BSD Clause 3 - see the LICENCE file for details