diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-05-12 02:10:54 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-05-28 01:37:49 +0200 |
commit | 6438a694b670cd188c2fd2f75e0cd6b0ae21bea9 (patch) | |
tree | dd53c02d505042d8ff6cedbd48f7f84a49d8878f /drivers/mfd/timberdale.h | |
parent | 0aeee5d4f6aa9bd28373907727937b7935d0434c (diff) | |
download | op-kernel-dev-6438a694b670cd188c2fd2f75e0cd6b0ae21bea9.zip op-kernel-dev-6438a694b670cd188c2fd2f75e0cd6b0ae21bea9.tar.gz |
mfd: pcf50633-adc: Fix potential race in pcf50633_adc_sync_read
Currently it's not guaranteed that request struct is not already freed when
reading from it. Fix this by moving synced request related fields from the
pcf50633_adc_request struct to its own struct and store it on the functions
stack.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/timberdale.h')
0 files changed, 0 insertions, 0 deletions