Files
linux/drivers
Brian Masney 5faf98cb31 staging: iio: isl29018: fixed race condition in in_illuminance_scale_available_show()
in_illuminance_scale_available_show() references the
isl29018_chip->int_time variable in three places inside a for loop.
The value of the int_time variable can be updated by the
isl29018_set_integration_time() function, which is called by the
isl29018_write_raw() function. isl29018_write_raw() locks a
mutex specific to this driver when the integration time variable is
updated.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-10-01 14:53:51 +01:00
..
2016-09-07 21:24:42 -07:00
2016-09-03 10:40:57 -07:00
2016-08-15 16:41:46 +02:00
2016-09-11 14:41:49 -07:00
2016-08-12 14:59:10 +05:30
2016-08-02 19:35:40 -04:00