mfd: sec: Fix reg_offset for interrupt registers
authorInderpal Singh <inderpal.singh@linaro.org>
Wed, 17 Oct 2012 06:18:55 +0000 (11:48 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 25 Nov 2012 23:35:08 +0000 (00:35 +0100)
commit5e393a2227ba97408ffb98d62cf362dfe2a59baa
treecd1889be303b4b38393c63edee8af09b978e203a
parentfee546ce8cfd9dea1f53175f627e17ef5ff05df4
mfd: sec: Fix reg_offset for interrupt registers

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.singh@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/sec-irq.c
This page took 0.024337 seconds and 5 git commands to generate.