<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/rtc/rtc-s3c.c, branch v2.6.38</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>drivers/rtc/rtc-s3c.c: fix prototype for s3c_rtc_setaie()</title>
<updated>2011-03-05T01:53:38+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-03-05T01:36:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2ec38a0359e227c01080dcd670a0368c61ccd9ce'/>
<id>2ec38a0359e227c01080dcd670a0368c61ccd9ce</id>
<content type='text'>
Fix s3c_rtc_setaie() prototype to eliminate the following compile
warning:

  drivers/rtc/rtc-s3c.c:383: warning: initialization from incompatible pointer type

(akpm: the rtc_class_ops.alarm_irq_enable() handler is being passed two
arguments where it expects just one, presumably with undesired effects)

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix s3c_rtc_setaie() prototype to eliminate the following compile
warning:

  drivers/rtc/rtc-s3c.c:383: warning: initialization from incompatible pointer type

(akpm: the rtc_class_ops.alarm_irq_enable() handler is being passed two
arguments where it expects just one, presumably with undesired effects)

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: rtc-s3c: add rtc_valid_tm in s3c_rtc_gettime()</title>
<updated>2010-10-28T01:03:06+00:00</updated>
<author>
<name>Kukjin Kim</name>
<email>kgene.kim@samsung.com</email>
</author>
<published>2010-10-27T22:33:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=5b3ffddd8ddb4712dfe14ad3e23eb5494f11bf61'/>
<id>5b3ffddd8ddb4712dfe14ad3e23eb5494f11bf61</id>
<content type='text'>
Add "rtc_valid_tm" in s3c_rtc_gettime() as per Wan ZongShun's suggestion.

Suggested-by: Wan ZongShun &lt;mcuos.com@gmail.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add "rtc_valid_tm" in s3c_rtc_gettime() as per Wan ZongShun's suggestion.

Suggested-by: Wan ZongShun &lt;mcuos.com@gmail.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&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;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: rtc-s3c: fix RTC initialization method</title>
<updated>2010-10-28T01:03:06+00:00</updated>
<author>
<name>Changhwan Youn</name>
<email>chaos.youn@samsung.com</email>
</author>
<published>2010-10-27T22:33:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e1df962e6cdc431acb6a8da409b6a7d89c4f782e'/>
<id>e1df962e6cdc431acb6a8da409b6a7d89c4f782e</id>
<content type='text'>
Change RTC initialization method in probe().  The 'rtc_valid_tm(tm)' can
check whether RTC BCD is valid or not.  And change the method of checking
because the previous method cannot validate RTC BCD registers properly.

Signed-off-by: Changhwan Youn &lt;chaos.youn@samsung.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change RTC initialization method in probe().  The 'rtc_valid_tm(tm)' can
check whether RTC BCD is valid or not.  And change the method of checking
because the previous method cannot validate RTC BCD registers properly.

Signed-off-by: Changhwan Youn &lt;chaos.youn@samsung.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.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;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: rtc-s3c: Fix debug message format on RTC</title>
<updated>2010-10-28T01:03:06+00:00</updated>
<author>
<name>Kukjin Kim</name>
<email>kgene.kim@samsung.com</email>
</author>
<published>2010-10-27T22:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=30ffc40cf52cd68782b50cb699b5eca076ca23ab'/>
<id>30ffc40cf52cd68782b50cb699b5eca076ca23ab</id>
<content type='text'>
Fix debug message format.

Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Acked-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix debug message format.

Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Acked-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.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;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: rtc-s3c: fix on support RTC Alarm</title>
<updated>2010-10-28T01:03:06+00:00</updated>
<author>
<name>Changhwan Youn</name>
<email>chaos.youn@samsung.com</email>
</author>
<published>2010-10-27T22:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e6eb524e6e6df4027530b36f76b84a6a076a3249'/>
<id>e6eb524e6e6df4027530b36f76b84a6a076a3249</id>
<content type='text'>
The alarm_irq_enable function should be implemented to support RTC alarm.
And fix tabs instead of white space around the proc field.

Signed-off-by: Changhwan Youn &lt;chaos.youn@samsung.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Acked-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The alarm_irq_enable function should be implemented to support RTC alarm.
And fix tabs instead of white space around the proc field.

Signed-off-by: Changhwan Youn &lt;chaos.youn@samsung.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Acked-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.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;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: rtc-s3c: fix setting missing field of getalarm</title>
<updated>2010-10-28T01:03:06+00:00</updated>
<author>
<name>Changhwan Youn</name>
<email>chaos.youn@samsung.com</email>
</author>
<published>2010-10-27T22:33:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=dd061d1abe4e637bf755865f776f8088dacd1c0b'/>
<id>dd061d1abe4e637bf755865f776f8088dacd1c0b</id>
<content type='text'>
Current s3c_rtc_getalarm() sets missing field of alarm time with 0xff.
But this value should be -1 according to drivers/rtc/interface.c.

Signed-off-by: Changhwan Youn &lt;chaos.youn@samsung.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Acked-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current s3c_rtc_getalarm() sets missing field of alarm time with 0xff.
But this value should be -1 according to drivers/rtc/interface.c.

Signed-off-by: Changhwan Youn &lt;chaos.youn@samsung.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Acked-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.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;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: rtc-s3c: fix access unit from byte to word on RTCCON</title>
<updated>2010-10-28T01:03:06+00:00</updated>
<author>
<name>Changhwan Youn</name>
<email>chaos.youn@samsung.com</email>
</author>
<published>2010-10-27T22:33:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f61ae6711d69717558e882a78487527705603a74'/>
<id>f61ae6711d69717558e882a78487527705603a74</id>
<content type='text'>
S3C2410_RTCCON of TYPE_S3C64XX RTC should be read/written by readw and
writew, because TYPE_S3C64XX RTC uses bit 8 and 9.  And TYPE_S3C2410 RTC
also can access it by readw and writew.

[atul.dahiya@samsung.com: tested on smdk2416]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Changhwan Youn &lt;chaos.youn@samsung.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Tested-by: Atul Dahiya &lt;atul.dahiya@samsung.com&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
S3C2410_RTCCON of TYPE_S3C64XX RTC should be read/written by readw and
writew, because TYPE_S3C64XX RTC uses bit 8 and 9.  And TYPE_S3C2410 RTC
also can access it by readw and writew.

[atul.dahiya@samsung.com: tested on smdk2416]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Changhwan Youn &lt;chaos.youn@samsung.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Tested-by: Atul Dahiya &lt;atul.dahiya@samsung.com&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.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;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: s3c: balance state changes of wakeup flag</title>
<updated>2010-09-23T00:22:40+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.tavy.me/linux.git/commit/?id=f501ed524b26ba1b739b7f7feb0a0e1496878769'/>
<id>f501ed524b26ba1b739b7f7feb0a0e1496878769</id>
<content type='text'>
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;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: rtc-s3c: Add BCD register initialization codes</title>
<updated>2010-08-05T09:32:51+00:00</updated>
<author>
<name>Taekgyun Ko</name>
<email>taeggyun.ko@samsung.com</email>
</author>
<published>2010-07-29T04:00:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=051fe54e9f8c568dc9cd288b630d436ee93afe35'/>
<id>051fe54e9f8c568dc9cd288b630d436ee93afe35</id>
<content type='text'>
RTC needs to be initialized when BCD registers have invalid value.

Signed-off-by: Taekgyun Ko &lt;taeggyun.ko@samsung.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Acked-by: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RTC needs to be initialized when BCD registers have invalid value.

Signed-off-by: Taekgyun Ko &lt;taeggyun.ko@samsung.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Acked-by: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: rtc-s3c: Updates driver for S3C64XX and newer SoCs</title>
<updated>2010-08-05T09:32:51+00:00</updated>
<author>
<name>Atul Dahiya</name>
<email>atul.dahiya@samsung.com</email>
</author>
<published>2010-07-20T10:32:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2f3478f6579b3f8d4579b6d49d7a8e9376c48fc2'/>
<id>2f3478f6579b3f8d4579b6d49d7a8e9376c48fc2</id>
<content type='text'>
This Patch does followings.
1) Enables support for alarm and time tick pending register
   for periodic interrupt generation.
2) Changes writeb to writew beacuse the macro S3C64XX_RTCCON_TICEN
   (Tick Timer Enable) is 9th bit of register.
3) Changes writeb to writel as max_user_freq used in s3c64xx is 32768 and
   requires 15 bits to update the Tick Count Register.

Signed-off-by: Atul Dahiya &lt;atul.dahiya@samsung.com&gt;
Signed-off-by: Taekgyun Ko &lt;taeggyun.ko@samsung.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This Patch does followings.
1) Enables support for alarm and time tick pending register
   for periodic interrupt generation.
2) Changes writeb to writew beacuse the macro S3C64XX_RTCCON_TICEN
   (Tick Timer Enable) is 9th bit of register.
3) Changes writeb to writel as max_user_freq used in s3c64xx is 32768 and
   requires 15 bits to update the Tick Count Register.

Signed-off-by: Atul Dahiya &lt;atul.dahiya@samsung.com&gt;
Signed-off-by: Taekgyun Ko &lt;taeggyun.ko@samsung.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
