]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: rtsx: Add func to split u32 into register
authorMicky Ching <micky_ching@realsil.com.cn>
Fri, 5 Dec 2014 05:54:26 +0000 (13:54 +0800)
committerLee Jones <lee.jones@linaro.org>
Mon, 8 Dec 2014 10:05:39 +0000 (10:05 +0000)
commitf8248817034c146ed3cc47196ef7a7b12984b787
tree8500a941a9118723082fd8efd1b4936da20f5669
parent99f4dcf2e91e7abccf13f33d3a99ddc1f4ee4352
mfd: rtsx: Add func to split u32 into register

Add helper function to write u32 to registers, if we want to put u32
value to 4 continuous register, this can help us reduce tedious work.

Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/rtsx_pci.h