Skip to content

Commit d4b3693

Browse files
CkovMknashif
authored andcommitted
drivers: gpio_adp5585: fix input register address
The input register address was somehow missing, fix it. Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com> (cherry picked from commit 7726b70)
1 parent 963b0b5 commit d4b3693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpio_adp5585.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ static int gpio_adp5585_port_read(const struct device *dev, gpio_port_value_t *v
193193

194194
/** Read Input Register */
195195

196-
uint8_t gpi_status_reg;
196+
uint8_t gpi_status_reg = ADP5585_GPI_STATUS_A;
197197
uint8_t gpi_status_buf[2];
198198

199199
ret = i2c_write_read_dt(&parent_cfg->i2c_bus, &gpi_status_reg, 1U,

0 commit comments

Comments
 (0)