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>
Thu, 10 Dec 2015 22:01:41 +0000 (23:01 +0100)
commit618a919b4c5150408c26f8b4527851f7065f841c
tree7b958a9ea7d915bb481e2ee9e3d2709de899c59a
parent46435d4c35336e169a198ef5cd51f9427e78ed62
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