pinctrl: rockchip: Fix the reg offset of rk3308

Change-Id: I4f57f5eed807a60abfe4189b93a667ce13314f2c
Signed-off-by: David Wu <david.wu@rock-chips.com>
This commit is contained in:
David Wu 2018-03-27 11:04:46 +08:00 committed by Kever Yang
parent 868bdcf383
commit 88a1f7ffce
1 changed files with 2 additions and 1 deletions

View File

@ -2130,7 +2130,8 @@ static struct rockchip_pin_ctrl *rockchip_pinctrl_get_soc_data(struct udevice *d
* 4bit iomux'es are spread over two registers.
*/
inc = (iom->type & (IOMUX_WIDTH_4BIT |
IOMUX_WIDTH_3BIT)) ? 8 : 4;
IOMUX_WIDTH_3BIT |
IOMUX_8WIDTH_2BIT)) ? 8 : 4;
if (iom->type & IOMUX_SOURCE_PMU)
pmu_offs += inc;
else