diff options
Diffstat (limited to 'src/drivers/parade/ps8640/ps8640.c')
-rw-r--r-- | src/drivers/parade/ps8640/ps8640.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/parade/ps8640/ps8640.c b/src/drivers/parade/ps8640/ps8640.c index dea7be3dfd..884b46af5f 100644 --- a/src/drivers/parade/ps8640/ps8640.c +++ b/src/drivers/parade/ps8640/ps8640.c @@ -25,7 +25,7 @@ int ps8640_get_edid(uint8_t bus, uint8_t chip, struct edid *out) { int ret; u8 edid[EDID_LENGTH * 2]; - int edid_size; + int edid_size = EDID_LENGTH; i2c_writeb(bus, chip + 2, PAGE2_I2C_BYPASS, EDID_I2C_ADDR | I2C_BYPASS_EN); |