diff options
| author | Crestez Dan Leonard <[email protected]> | 2016-05-13 18:43:33 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2016-05-29 19:25:27 +0000 |
| commit | ff05916f94f912b25e8efcf9b02c10d481977bab (patch) | |
| tree | 4f418509a534fc6c19c7057cadbbdc57461a6520 /fs/jbd2/commit.c | |
| parent | iio: st_sensors: switch to a threaded interrupt (diff) | |
| download | kernel-ff05916f94f912b25e8efcf9b02c10d481977bab.tar.gz kernel-ff05916f94f912b25e8efcf9b02c10d481977bab.zip | |
iio: st_sensors: Init trigger before irq request
This fixes a possible race where an interrupt arrives before complete
initialization and crashes because iio_trigger_get_drvdata returns NULL.
Cc: Giuseppe Barba <[email protected]>
Cc: Denis Ciocca <[email protected]>
Signed-off-by: Crestez Dan Leonard <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
