BugLink: https://bugs.launchpad.net/bugs/2039440
[ Upstream commit 4f9b80aefb9e2f542a49d9ec087cf5919730e1dd ]
The ADC conversion procedure requires several device I/O operations
performed in a particular sequence. If stx104_read_raw() is called
concurrently, the ADC conversion procedure could be clobbered. Prevent
such a race condition by utilizing a mutex.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
stx104.c |