i.MX: HABv4: Reset index variable after error type
The index variable is used for each error type, it should be reset to 0
before retrieving the next error status, otherwise error messages are
skipped if the preceding error type incremented index.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3c226c7 commit e7c33540d0c092c28b227d4b7602cef8ab203ef3
@Rouven Czerwinski Rouven Czerwinski authored on 25 Jun 2019
Sascha Hauer committed on 27 Jun 2019
Showing 1 changed file
View
drivers/hab/habv4.c