<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/rtc, branch linux-2.6.35.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.35.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.35.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2011-04-28T15:20:57+00:00</updated>
<entry>
<title>drivers/rtc/rtc-ds1511.c: world-writable sysfs nvram file</title>
<updated>2011-04-28T15:20:57+00:00</updated>
<author>
<name>Vasiliy Kulikov</name>
<email>segoon@openwall.com</email>
</author>
<published>2011-03-22T23:34:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=faf71f45b0485c3d97ed987489185288ba94b638'/>
<id>urn:sha1:faf71f45b0485c3d97ed987489185288ba94b638</id>
<content type='text'>
commit 49d50fb1c28738ef6bad0c2b87d5355a1653fed5 upstream.

Don't allow everybogy to write to NVRAM.

Signed-off-by: Vasiliy Kulikov &lt;segoon@openwall.com&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Cc: Andy Sharp &lt;andy.sharp@onstor.com&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>rtc-cmos: fix suspend/resume</title>
<updated>2011-03-31T18:57:48+00:00</updated>
<author>
<name>Paul Fox</name>
<email>pgf@laptop.org</email>
</author>
<published>2011-01-13T01:00:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1d2b536410df084435e2453a504ad2fedd46b690'/>
<id>urn:sha1:1d2b536410df084435e2453a504ad2fedd46b690</id>
<content type='text'>
commit 2fb08e6ca9f00d1aedb3964983e9c8f84b36b807 upstream.

rtc-cmos was setting suspend/resume hooks at the device_driver level.
However, the platform bus code (drivers/base/platform.c) only looks for
resume hooks at the dev_pm_ops level, or within the platform_driver.

Switch rtc_cmos to use dev_pm_ops so that suspend/resume code is executed
again.

Paul said:

: The user visible symptom in our (XO laptop) case was that rtcwake would
: fail to wake the laptop.  The RTC alarm would expire, but the wakeup
: wasn't unmasked.
:
: As for severity, the impact may have been reduced because if I recall
: correctly, the bug only affected platforms with CONFIG_PNP disabled.

Signed-off-by: Paul Fox &lt;pgf@laptop.org&gt;
Signed-off-by: Daniel Drake &lt;dsd@laptop.org&gt;
Acked-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>rtc: rs5c372: fix buffer size</title>
<updated>2011-02-06T19:03:48+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>w.sang@pengutronix.de</email>
</author>
<published>2010-12-22T01:24:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=39ab95f709fd14c0542ad9e5eaebebc30c681094'/>
<id>urn:sha1:39ab95f709fd14c0542ad9e5eaebebc30c681094</id>
<content type='text'>
commit 118364948fad7b6c0469ef2d3ddaee447d7a0b5f upstream.

Match the buffer size to the amount of initialized values.  Before, it was
one too big and thus destroyed the neighbouring register causing the clock
to run at false speeds.

Reported-by: Andre van Rooyen &lt;a.v.rooyen@sercom.nl&gt;
Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>rtc: s3c: balance state changes of wakeup flag</title>
<updated>2010-09-27T00:18:27+00:00</updated>
<author>
<name>Vladimir Zapolskiy</name>
<email>vzapolskiy@gmail.com</email>
</author>
<published>2010-09-22T20:05:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e658aee24443e17c08424ae4ce193735c7fde737'/>
<id>urn:sha1:e658aee24443e17c08424ae4ce193735c7fde737</id>
<content type='text'>
commit f501ed524b26ba1b739b7f7feb0a0e1496878769 upstream.

This change resolves a problem about unbalanced calls of
enable_irq_wakeup() and disable_irq_wakeup() for alarm interrupt.

Bug reproduction:

root@eb600:~# echo 0 &gt; /sys/class/rtc/rtc0/wakealarm

WARNING: at kernel/irq/manage.c:361 set_irq_wake+0x7c/0xe4()
 Unbalanced IRQ 46 wake disable
Modules linked in:
[&lt;c0025708&gt;] (unwind_backtrace+0x0/0xd8) from [&lt;c003358c&gt;] (warn_slowpath_common+0x44/0x5c)
[&lt;c003358c&gt;] (warn_slowpath_common+0x44/0x5c) from [&lt;c00335dc&gt;] (warn_slowpath_fmt+0x24/0x30)
[&lt;c00335dc&gt;] (warn_slowpath_fmt+0x24/0x30) from [&lt;c0058c20&gt;] (set_irq_wake+0x7c/0xe4)
[&lt;c0058c20&gt;] (set_irq_wake+0x7c/0xe4) from [&lt;c01b5e80&gt;] (s3c_rtc_setalarm+0xa8/0xb8)
[&lt;c01b5e80&gt;] (s3c_rtc_setalarm+0xa8/0xb8) from [&lt;c01b47a0&gt;] (rtc_set_alarm+0x60/0x74)
[&lt;c01b47a0&gt;] (rtc_set_alarm+0x60/0x74) from [&lt;c01b5a98&gt;] (rtc_sysfs_set_wakealarm+0xc8/0xd8)
[&lt;c01b5a98&gt;] (rtc_sysfs_set_wakealarm+0xc8/0xd8) from [&lt;c01891ec&gt;] (dev_attr_store+0x20/0x24)
[&lt;c01891ec&gt;] (dev_attr_store+0x20/0x24) from [&lt;c00be934&gt;] (sysfs_write_file+0x104/0x13c)
[&lt;c00be934&gt;] (sysfs_write_file+0x104/0x13c) from [&lt;c0080e7c&gt;] (vfs_write+0xb0/0x158)
[&lt;c0080e7c&gt;] (vfs_write+0xb0/0x158) from [&lt;c0080fcc&gt;] (sys_write+0x3c/0x68)
[&lt;c0080fcc&gt;] (sys_write+0x3c/0x68) from [&lt;c0020ec0&gt;] (ret_fast_syscall+0x0/0x28)

Signed-off-by: Vladimir Zapolskiy &lt;vzapolskiy@gmail.com&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Ben Dooks &lt;ben@fluff.org.uk&gt;
Cc: Atul Dahiya &lt;atul.dahiya@samsung.com&gt;
Cc: Taekgyun Ko &lt;taeggyun.ko@samsung.com&gt;
Cc: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drivers/rtc/rtc-rx8581.c: fix setdatetime</title>
<updated>2010-07-27T21:32:06+00:00</updated>
<author>
<name>Rudolf Marek</name>
<email>rudolf.marek@sysgo.com</email>
</author>
<published>2010-07-27T20:18:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2884fce165047db7df422e52a672970fa09c87b5'/>
<id>urn:sha1:2884fce165047db7df422e52a672970fa09c87b5</id>
<content type='text'>
Fix the logic while writing new date/time to the chip.  The driver
incorrectly wrote back register values to different registers and even
with wrong mask.  The patch adds clearing of the VLF register, which
should be cleared if all date/time values are set.

Signed-off-by: Rudolf Marek &lt;rudolf.marek@sysgo.com&gt;
Acked-by: Wan ZongShun &lt;mcuos.com@gmail.com&gt;
Cc: Martyn Welch &lt;martyn.welch@gefanuc.com&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>rtc: fix ds1388 time corruption</title>
<updated>2010-06-29T22:29:31+00:00</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2010-06-29T22:05:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=96fc3a45ea073136566f3c2676cad52f8b39a7df'/>
<id>urn:sha1:96fc3a45ea073136566f3c2676cad52f8b39a7df</id>
<content type='text'>
The ds1307 driver misreads the ds1388 registers when checking for 12 or 24
hour mode.  Instead of checking the hour register it reads the minute
register.  Therefore the driver thinks minutes &gt;= 40 has the 12HR bit set
and resets the minute register by zeroing the high bits.  This results in
minutes are reset to 0-9, jumping back in time 40 or 50 minutes.  The time
jump is also written back to the RTC.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.com&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Paul Gortmaker &lt;p_gortmaker@yahoo.com&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>davinci: update gfp/slab.h includes</title>
<updated>2010-06-28T00:19:19+00:00</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2010-03-29T17:52:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f244f31a0d31402c2c1b1950108e0013353cc3f3'/>
<id>urn:sha1:f244f31a0d31402c2c1b1950108e0013353cc3f3</id>
<content type='text'>
Implicit slab.h inclusion via percpu.h is about to go away.  Make sure
gfp.h or slab.h is included as necessary.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Cc: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Cc: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
Signed-off-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
</content>
</entry>
<entry>
<title>rtc: s3c: initialize s3c_rtc_cpu_type before using it</title>
<updated>2010-06-04T22:21:44+00:00</updated>
<author>
<name>Maurus Cuelenaere</name>
<email>mcuelenaere@gmail.com</email>
</author>
<published>2010-06-04T21:14:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=eaa6e4dd4bf243a357056448e54d7c673cd44acb'/>
<id>urn:sha1:eaa6e4dd4bf243a357056448e54d7c673cd44acb</id>
<content type='text'>
Make sure s3c_rtc_cpu_type is initialised _before_ it's used in an if()
check.

Reported-by: Jiri Pinkava &lt;jiri.pinkava@vscht.cz&gt;
Signed-off-by: Maurus Cuelenaere &lt;mcuelenaere@gmail.com&gt;
Cc: Paul Gortmaker &lt;p_gortmaker@yahoo.com&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Maurus Cuelenaere &lt;mcuelenaere@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>rtc: s3c: initialize driver data before using it</title>
<updated>2010-06-04T22:21:44+00:00</updated>
<author>
<name>Maurus Cuelenaere</name>
<email>mcuelenaere@gmail.com</email>
</author>
<published>2010-06-04T21:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e893de59a4982791368b3ce412bc67dd601a88a0'/>
<id>urn:sha1:e893de59a4982791368b3ce412bc67dd601a88a0</id>
<content type='text'>
s3c_rtc_setfreq() uses the platform driver data to derive struct rtc_device,
so make sure drvdata is set _before_ s3c_rtc_setfreq() is called.

Signed-off-by: Maurus Cuelenaere &lt;mcuelenaere@gmail.com&gt;
Cc: Paul Gortmaker &lt;p_gortmaker@yahoo.com&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Maurus Cuelenaere &lt;mcuelenaere@gmail.com&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging</title>
<updated>2010-06-03T22:44:43+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2010-06-03T22:44:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ceadda057c000fa82e6bbe508923d8181414dea7'/>
<id>urn:sha1:ceadda057c000fa82e6bbe508923d8181414dea7</id>
<content type='text'>
* 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
  i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
  i2c/busses: Move two drivers to embedded section
  i2c: Rename i2c_check_addr to i2c_check_addr_busy
  i2c: Document reserved I2C addresses
  i2c: Check for address validity on client registration
  i2c: Share the I2C device presence detection code
  Documentation/i2c: Checkpatch cleanup
</content>
</entry>
</feed>
