From: Eduardo Valentin Date: Fri, 15 Mar 2013 13:00:35 +0000 (-0400) Subject: staging: omap-thermal: switch mutex to spinlock inside omap-bandgap X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~598 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebf0bd52e657b41341bbfb0cbaabc308bf1c58e9;p=pandora-kernel.git staging: omap-thermal: switch mutex to spinlock inside omap-bandgap Because there is a need to lock inside IRQ handler, this patch changes the locking mechanism inside the omap-bandgap.[c,h] to spinlocks. Now this lock is used to protect omap_bandgap struct during APIs exposed (possibly used in sysfs handling functions) and inside the ALERT IRQ handler. Because there are registers shared among the sensors, this lock is global, not per sensor. Signed-off-by: Eduardo Valentin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed