]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg/PL061Gpio: fix the offset value in Get function
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Mon, 13 Feb 2017 07:53:00 +0000 (15:53 +0800)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 16 Feb 2017 11:31:25 +0000 (11:31 +0000)
commitd176bb3c5c28e0c89ae86995ecd6b9e21b4e0b9f
treea95c0f9f1c12e51a02a261751b259325cdf84c0a
parentd164a0e31bf8aa5bc8f9a184a02648585ff4f0d7
ArmPlatformPkg/PL061Gpio: fix the offset value in Get function

When call PL061GetPins() or PL061SetPins(), should use GPIO_PIN_MASK(offset)
as parameter, not offset.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c