]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: baytrail: Fix debugfs offset output
authorAlexander Stein <alexander.stein@systec-electronic.com>
Thu, 26 Jan 2017 13:17:54 +0000 (14:17 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Jan 2017 15:44:11 +0000 (16:44 +0100)
commitb687689aaac6c3e5478c95f52153f9b47e10a0e2
treeb9e85573a298ef1086f1ab28366c64dc4562e0da
parentca474326f0f19e342fc86f4810ab0fa437572d27
pinctrl: baytrail: Fix debugfs offset output

Apparently each GPIO pad's register are 16 bytes, so multiply the pad_map
by that. The same is done in byt_gpio_reg the only other place where
pad_map is used.

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/pinctrl-baytrail.c