Re: [PATCH] MFD: SEC: Fix reg_offset for interrupt registers

2012-11-21 Thread Samuel Ortiz
Hi Inderpal, On Wed, Oct 17, 2012 at 11:48:55AM +0530, Inderpal Singh wrote: > reg_offset is offset of the status/mask registers. Now, since status_base > and mask_base are pointing to corresponding first registers, reg_offset > should start from 0 otheriwse regmap_add_irq_chip will fail during

Re: [PATCH] MFD: SEC: Fix reg_offset for interrupt registers

2012-11-21 Thread Samuel Ortiz
Hi Inderpal, On Wed, Oct 17, 2012 at 11:48:55AM +0530, Inderpal Singh wrote: reg_offset is offset of the status/mask registers. Now, since status_base and mask_base are pointing to corresponding first registers, reg_offset should start from 0 otheriwse regmap_add_irq_chip will fail during

[PATCH] MFD: SEC: Fix reg_offset for interrupt registers

2012-10-17 Thread Inderpal Singh
reg_offset is offset of the status/mask registers. Now, since status_base and mask_base are pointing to corresponding first registers, reg_offset should start from 0 otheriwse regmap_add_irq_chip will fail during probe. Signed-off-by: Inderpal Singh --- It is based on Samuel's for-next-merge

[PATCH] MFD: SEC: Fix reg_offset for interrupt registers

2012-10-17 Thread Inderpal Singh
reg_offset is offset of the status/mask registers. Now, since status_base and mask_base are pointing to corresponding first registers, reg_offset should start from 0 otheriwse regmap_add_irq_chip will fail during probe. Signed-off-by: Inderpal Singh inderpal.si...@linaro.org --- It is based on