Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135054
b: refs/heads/master
c: 8c87037
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Mar 5, 2009
1 parent 3141b78 commit 8d321bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 115122afc5e34499a0edfd2b057e9c352fa7c78f
refs/heads/master: 8c870379d2db81a11ede65e9fd9774e4e6efe84a
2 changes: 2 additions & 0 deletions trunk/drivers/net/sfc/falcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -3114,8 +3114,10 @@ void falcon_remove_nic(struct efx_nic *efx)
struct falcon_nic_data *nic_data = efx->nic_data;
int rc;

/* Remove I2C adapter and clear it in preparation for a retry */
rc = i2c_del_adapter(&efx->i2c_adap);
BUG_ON(rc);
memset(&efx->i2c_adap, 0, sizeof(efx->i2c_adap));

falcon_remove_spi_devices(efx);
falcon_free_buffer(efx, &efx->irq_status);
Expand Down

0 comments on commit 8d321bd

Please sign in to comment.