summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-rx4581.c
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-03-15 09:00:35 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-15 09:02:24 -0700
commitebf0bd52e657b41341bbfb0cbaabc308bf1c58e9 (patch)
tree59d0f6108e99b9ee416cefe869fa13fc55684cf4 /drivers/rtc/rtc-rx4581.c
parent1b46f2a239bfa3452179c8f1783f41ad1ff1833c (diff)
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 <eduardo.valentin@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc/rtc-rx4581.c')
0 files changed, 0 insertions, 0 deletions