https://github.com/torvalds/linux
Revision 516373b8b60fa4152334b6b6f2ece0f178c540ce authored by Uwe Kleine-König on 14 February 2011, 10:33:17 UTC, committed by John Stultz on 17 February 2011, 22:59:22 UTC
On hardware that doesn't support alarm interrupts, rtc_alarm_irq_enable
could return without releasing the ops_lock mutex.

This was introduced in
	aa0be0f (RTC: Propagate error handling via rtc_timer_enqueue properly)

This patch corrects the issue by only returning once the mutex is
released.

[john.stultz: Reworded the commit log]

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
1 parent d8ce148
History
Tip revision: 516373b8b60fa4152334b6b6f2ece0f178c540ce authored by Uwe Kleine-König on 14 February 2011, 10:33:17 UTC
RTC: Release mutex in error path of rtc_alarm_irq_enable
Tip revision: 516373b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 4.0 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.7 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 186.6 KB
Makefile -rw-r--r-- 50.9 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top