Skip to content

Commit

Permalink
Revert "i2c: only send 1 master stop in FORCE_UNLOCK reset mode"
Browse files Browse the repository at this point in the history
This reverts commit 28bfab6.

Change-Id: I02060167fc113dcd81da59742e5cf5d6c8c5a766
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36573
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
  • Loading branch information
dcrowell77 authored and wghoffa committed Feb 18, 2017
1 parent 6527a98 commit 6782606
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/usr/i2c/i2c.C
Expand Up @@ -2724,14 +2724,13 @@ errlHndl_t i2cReset ( TARGETING::Target * i_target,
// So just commit the log here and let the function continue.
errlCommit( err, I2C_COMP_ID );
}
} else {

// Part of doing the I2C Master reset is also sending a stop
// command to the slave device.
err = i2cSendSlaveStop( i_target,
i_args );
}

// Part of doing the I2C Master reset is also sending a stop
// command to the slave device.
err = i2cSendSlaveStop( i_target,
i_args );

if( err )
{
break;
Expand Down

0 comments on commit 6782606

Please sign in to comment.