]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 4080/1: Fix for the SSCR0_SlotsPerFrm macro
authorPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 2 Jan 2007 19:59:38 +0000 (20:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 2 Jan 2007 23:42:03 +0000 (23:42 +0000)
commitca4779583542529fed98147307380d321deaf373
tree714efeca8cef7240e97dcc37db85fad3369b87d3
parent7ae2377c427100c74cf4db0b9d4ddaad88fe4d1b
[ARM] 4080/1: Fix for the SSCR0_SlotsPerFrm macro

The SSCR0_SlotsPerFrm macro writes a 3-bit value to bits [2:0], while the correct location of FRDC in SSCR0 is at bits [26:24]. This patch adds the missing "<< 24".

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-pxa/pxa-regs.h