aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/p8-i2c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/p8-i2c.c b/hw/p8-i2c.c
index 3bce0b1..fefc1d4 100644
--- a/hw/p8-i2c.c
+++ b/hw/p8-i2c.c
@@ -990,7 +990,6 @@ static int p8_i2c_check_initial_status(struct p8_i2c_master_port *port)
/* Delay 5ms for bus to settle */
schedule_timer(&master->recovery, msecs_to_tb(5));
- unlock(&master->lock);
return OPAL_BUSY;
}
@@ -1010,7 +1009,6 @@ static int p8_i2c_check_initial_status(struct p8_i2c_master_port *port)
/* Delay 5ms for bus to settle */
schedule_timer(&master->recovery, msecs_to_tb(5));
- unlock(&master->lock);
return OPAL_BUSY;
}