ARM: SAMSUNG: Make ADC client SMP safe
authorBen Dooks <ben-linux@fluff.org>
Mon, 10 May 2010 04:31:36 +0000 (13:31 +0900)
committerBen Dooks <ben-linux@fluff.org>
Thu, 20 May 2010 12:05:49 +0000 (21:05 +0900)
Change local_irq disable calls to use spinlocks to ensure that the
ADC driver data is protected against multiple access..

Note, this does not protect the client's data, and the client should
ensure it does not make multiple calls to the ADC driver.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>

No differences found