diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/eeprom/eeprom_93cx6.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/eeprom/eeprom_93cx6.c b/drivers/misc/eeprom/eeprom_93cx6.c index 7b33de95c4bf..a6037af6f076 100644 --- a/drivers/misc/eeprom/eeprom_93cx6.c +++ b/drivers/misc/eeprom/eeprom_93cx6.c | |||
@@ -63,6 +63,7 @@ static void eeprom_93cx6_startup(struct eeprom_93cx6 *eeprom) | |||
63 | eeprom->reg_data_out = 0; | 63 | eeprom->reg_data_out = 0; |
64 | eeprom->reg_data_clock = 0; | 64 | eeprom->reg_data_clock = 0; |
65 | eeprom->reg_chip_select = 1; | 65 | eeprom->reg_chip_select = 1; |
66 | eeprom->drive_data = 1; | ||
66 | eeprom->register_write(eeprom); | 67 | eeprom->register_write(eeprom); |
67 | 68 | ||
68 | /* | 69 | /* |
@@ -101,6 +102,7 @@ static void eeprom_93cx6_write_bits(struct eeprom_93cx6 *eeprom, | |||
101 | */ | 102 | */ |
102 | eeprom->reg_data_in = 0; | 103 | eeprom->reg_data_in = 0; |
103 | eeprom->reg_data_out = 0; | 104 | eeprom->reg_data_out = 0; |
105 | eeprom->drive_data = 1; | ||
104 | 106 | ||
105 | /* | 107 | /* |
106 | * Start writing all bits. | 108 | * Start writing all bits. |
@@ -140,6 +142,7 @@ static void eeprom_93cx6_read_bits(struct eeprom_93cx6 *eeprom, | |||
140 | */ | 142 | */ |
141 | eeprom->reg_data_in = 0; | 143 | eeprom->reg_data_in = 0; |
142 | eeprom->reg_data_out = 0; | 144 | eeprom->reg_data_out = 0; |
145 | eeprom->drive_data = 0; | ||
143 | 146 | ||
144 | /* | 147 | /* |
145 | * Start reading all bits. | 148 | * Start reading all bits. |