]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sfc: SFN4111T: Fix GPIO sharing between I2C and FLASH_CFG_1
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 29 Jan 2009 17:49:29 +0000 (17:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Jan 2009 22:06:29 +0000 (14:06 -0800)
commit2f08575389ac37ece5922094777442d8fdd8c00a
treebb2be0550b3b6f669257295f4ba1ad754c4f39d0
parent8b9dc8dd447cfe27c0214761ced22a8e4aa58f5e
sfc: SFN4111T: Fix GPIO sharing between I2C and FLASH_CFG_1

Change sfn4111t_reset() to change only GPIO output enables so that it
doesn't break subsequent I2C operations.

Update comments to explain exactly what we're doing.

Add a short sleep to make sure the FLASH_CFG_1 value is latched before
any subsequent I2C operations.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/sfe4001.c