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> |
---|
|
drivers/hab/habv4.c |
---|