]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sh: timer: Mask bit of timer prescaler
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Tue, 23 Jul 2013 04:57:24 +0000 (13:57 +0900)
committerNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Thu, 17 Oct 2013 00:34:38 +0000 (09:34 +0900)
commit861bd4bcf7e7eba165b42e79cea005486851d69b
treeeee87c16112d4872b501f285047dd3fc93f65a93
parent183acb700378a8cfc5d50a01a65de93fb2c24586
sh: timer: Mask bit of timer prescaler

timer_init function sets timer prescaler bit.
The previous code so did not mask this bit, this function was to overwrite
the bit. This will fix this problem.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
arch/sh/lib/time.c