audk/ArmPlatformPkg/Drivers/PL061GpioDxe
levi.yun 690f13fcb4 ArmPlatformPkg/Driver/PL061Gpio: Error checking for pin on release build
ASSERT_EFI_ERROR would be removed in release build.
This means it would trigger wrong behavior when invalid pin number given
to Get(), Set() and GetMode().

Adding error check routine for invalid pin number and before check the
pin number, check first other argument given to each function.

Signed-off-by: Levi Yun <yeoreum.yun@arm.com>
2024-07-16 15:19:27 +00:00
..
PL061Gpio.c
PL061Gpio.h
PL061GpioDxe.inf