]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: i2c-bfin-twi: Always access 16 bit MMR by bfin 16 bit access Macro.
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 5 Jun 2012 05:20:06 +0000 (13:20 +0800)
committerBob Liu <lliubbo@gmail.com>
Tue, 24 Jul 2012 05:39:50 +0000 (13:39 +0800)
commita31258c2e2e1901d233ad2ab6bb11cb50090bb32
tree7d2b4f7a5bcf25f589166426f8c1000b751fed4b
parent91d8b9c7b534e14345b8e945e00b25b9a6f05a30
i2c: i2c-bfin-twi: Always access 16 bit MMR by bfin 16 bit access Macro.

Otherwise, the compiler may optimize assemble code into 8bit access instruction
when target register is 8 bit width.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/include/asm/bfin_twi.h