iio:tcs3472: Check for buffer enabled and locking

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
1 file changed