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 8bdb38ef86
commit c81b01b47a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 */