[PATCH v2 1/2] mfd: rtsx: add func to split u32 into register

2014-12-01 Thread micky_ching
From: Micky Ching 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 Acked-by: Lee Jones --- include/linux/mfd/rtsx_pci.h | 9 + 1 file changed, 9 insertions(+) diff --

Re: [PATCH v2 1/2] mfd: rtsx: add func to split u32 into register

2014-12-01 Thread Lee Jones
On Fri, 28 Nov 2014, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > 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 > --- > include/linux/mfd/rtsx_pci.h | 9 +

Re: [PATCH v2 1/2] mfd: rtsx: add func to split u32 into register

2014-12-01 Thread Dan Carpenter
On Mon, Dec 01, 2014 at 12:18:58PM +, Lee Jones wrote: > On Fri, 28 Nov 2014, micky_ch...@realsil.com.cn wrote: > > > From: Micky Ching > > > > 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. > >

Re: [PATCH v2 1/2] mfd: rtsx: add func to split u32 into register

2014-12-01 Thread Lee Jones
On Fri, 28 Nov 2014, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > 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 > --- > include/linux/mfd/rtsx_pci.h | 9 +

[PATCH v2 1/2] mfd: rtsx: add func to split u32 into register

2014-11-27 Thread micky_ching
From: Micky Ching 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 --- include/linux/mfd/rtsx_pci.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/linux/mf