commit | 88b386c0a7c278581d2b8e2c2761d12f6475938d | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Feb 14 11:00:15 2013 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Thu Feb 14 20:00:53 2013 +0530 |
tree | b4616aeeb7a8c5c057cd52d30a2ecadb744d6f1f | |
parent | 7dd145252574e34d92ad574e5168e4115639c0be [diff] |
dma: of-dma: protect list write operation by spin_lock It's possible to have an inconsistency in the list due to unprotected operation on it. The patch adds a proper locking on the list operation. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>