[PATCH 6.6 085/121] iio: light: opt3001: fix deadlock due to concurrent flag access