commit | 1f1f584c9a1dd234041573d2d1c42620b3966607 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Mon May 10 13:31:36 2010 +0900 |
committer | Ben Dooks <ben-linux@fluff.org> | Thu May 20 21:05:49 2010 +0900 |
tree | b05881c9a1eb9d7adeba78e9b48ddd9536b733ef | |
parent | 6a399547242df3b12f13d637a95f63eaa82f9385 [diff] |
ARM: SAMSUNG: Make ADC client SMP safe 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>