mc33810: set ignition outputs to GP mode (#2756)

IGN mode does not want to fire Subaru ignitor
This commit is contained in:
Andrey G 2021-05-29 12:07:04 +03:00 committed by GitHub
parent d71a40ae24
commit 032fa6c435
1 changed files with 5 additions and 0 deletions

View File

@ -332,6 +332,11 @@ static int mc33810_chip_init(mc33810_priv *chip)
if (ret) {
goto err_gpios;
}
ret = mc33810_spi_rw(chip, MC_CMD_MODE_SELECT(0xf << 8), NULL);
if (ret) {
goto err_gpios;
}
}
/* n. set EN pin low - active */