diff options
| author | Ken Ma <[email protected]> | 2018-03-26 15:56:02 +0800 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2018-03-30 12:52:48 +0200 |
| commit | 0237448a715468f910d2b30c548c171380f901c1 (patch) | |
| tree | cd6f97659fb081b935b9fae1e0f65f08feb5b854 /tools/microcode-tool.py | |
| parent | 23626cac4b8a2a4a95b109526a97b3916ae2a40e (diff) | |
arm64: a37xx: pinctrl: Fix gpio pin offset in register
For armada_37xx_update_reg(), the parameter offset should be pointer so
that it can be updated, otherwise offset will keep old value, and then
when offset is larger than or equal to 32 the mask calculated by
"BIT(offset)" will be 0 in gpio chip hook functions, it's an error,
this patch set offset parameter of armada_37xx_update_reg() as pointer.
Reviewed-on: http://vgitil04.il.marvell.com:8080/43287
Reviewed-by: Hua Jing <[email protected]>
Tested-by: iSoC Platform CI <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefan Roese <[email protected]>
Signed-off-by: Ken Ma <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'tools/microcode-tool.py')
0 files changed, 0 insertions, 0 deletions
