[PATCH 5.10 324/379] iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC