From: Tomas Henzl Date: Wed, 9 Jul 2014 11:51:01 +0000 (+0530) Subject: pm8001: add a new spinlock to protect the CCB X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=646cdf0083e3d4a9b995f37b72c3c8a22d9307de;p=pandora-kernel.git pm8001: add a new spinlock to protect the CCB Patch adds a new spinlock to protect the ccb management. It may happen that concurrent threads become the same tag value from the 'alloc' function', the spinlock prevents this situation. Signed-off-by: Tomas Henzl Acked-by: Suresh Thiagarajan Acked-by: Jack Wang Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed