]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: SAMSUNG: fix race in s3c_adc_start for ADC
authorTodd Poynor <toddpoynor@google.com>
Fri, 13 Jul 2012 06:30:48 +0000 (15:30 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 13 Jul 2012 06:35:04 +0000 (15:35 +0900)
commit8265981bb439f3ecc5356fb877a6c2a6636ac88a
treec95e3b84c46bcc9d39c1d3d0e98c82ccb8088a7c
parentbdd3cc26ba651e33780ade33f1410320cf2d0cf4
ARM: SAMSUNG: fix race in s3c_adc_start for ADC

Checking for adc->ts_pend already claimed should be done with the
lock held.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/adc.c