summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-05-12 02:10:54 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-05-28 01:37:49 +0200
commit6438a694b670cd188c2fd2f75e0cd6b0ae21bea9 (patch)
treedd53c02d505042d8ff6cedbd48f7f84a49d8878f /drivers/dma
parent0aeee5d4f6aa9bd28373907727937b7935d0434c (diff)
downloadlinux-6438a694b670cd188c2fd2f75e0cd6b0ae21bea9.tar.bz2
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/dma')
0 files changed, 0 insertions, 0 deletions