summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/I2c
diff options
context:
space:
mode:
authorSamer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com>2014-11-27 01:01:43 +0000
committererictian <erictian@Edk2>2014-11-27 01:01:43 +0000
commit01331951708f980fca1fb3a791ab544adcd3a5d0 (patch)
tree3768f07f468ebf5ffb918a52e36e33046b399ba5 /MdeModulePkg/Bus/I2c
parent2bf41ed7dc20f0f6e13babb136753ff3f91edd21 (diff)
downloadedk2-01331951708f980fca1fb3a791ab544adcd3a5d0.zip
edk2-01331951708f980fca1fb3a791ab544adcd3a5d0.tar.gz
edk2-01331951708f980fca1fb3a791ab544adcd3a5d0.tar.bz2
MdeModulePkg: Misc comments and DEBUG messages
Fixed some spelling typos in some comments. Added a couple of useful DEBUG messages Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16450 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/I2c')
-rw-r--r--MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c b/MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c
index ff99fe4..319507c 100644
--- a/MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c
+++ b/MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c
@@ -2,6 +2,7 @@
This file implements I2C Host Protocol which provides callers with the ability to
do I/O transactions to all of the devices on the I2C bus.
+ Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -672,6 +673,10 @@ I2cHostI2cBusConfigurationAvailable (
I2cHostContext->I2cEvent,
&I2cHostContext->Status
);
+
+ if (EFI_ERROR (Status)) {
+ DEBUG((DEBUG_ERROR, "I2cHostI2cBusConfigurationAvailable: Error starting I2C operation, %r\n", Status));
+ }
}
/**