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 nubmer, check first other argument given to each function.
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 nubmer, check first other argument given to each function.
Signed-off-by: Levi Yun yeoreum.yun@arm.com