I noticed an issue with the iMX7 thermal driver. I periodically read the file /sys/devices/virtual/thermal/thermal_zone0 to fetch the CPU temperature.
While I get the correct value in 99.9% percent of the cases sometimes I get an empty string when reading the file. So this seems to be a race condition in the driver. Is this a known issue? I tried to apply the following patch which didn’t help: linux-toradex.git - Linux kernel for Apalis and Colibri modules