pinctrl: intel: fix bug of register offset calculation
authorQipeng Zha <qipeng.zha@intel.com>
Wed, 25 Nov 2015 17:09:51 +0000 (01:09 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 Dec 2015 10:15:54 +0000 (11:15 +0100)
commitc5cdcba3d54b9bd2443bd0afe9f4828f802a944f
tree158a44d705d639b3b3178e27be8220b394c60c53
parentd9ac5e25f1335bb16c638736bf25146a550eb394
pinctrl: intel: fix bug of register offset calculation

The group size for registers PADCFGLOCK, HOSTSW_OWN, GPI_IS,
GPI_IE, are not 24 for Broxton, Add a parameter to allow
different platform to set correct value.

Signed-off-by: Qi Zheng <qi.zheng@intel.com>
Signed-off-by: Qipeng Zha <qipeng.zha@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/pinctrl-broxton.c
drivers/pinctrl/intel/pinctrl-intel.c
drivers/pinctrl/intel/pinctrl-intel.h
drivers/pinctrl/intel/pinctrl-sunrisepoint.c