aes2501: Fix state machine never using "init_3" state

This fixes this warning by the same token:
drivers/aes2501.c:671:34: warning: ‘init_3’ defined but not used [-Wunused-const-variable=]

https://bugs.freedesktop.org/show_bug.cgi?id=105429
This commit is contained in:
Bastien Nocera 2018-03-11 22:37:55 +01:00
parent ff5de4ff03
commit bc30a3d2e5

View file

@ -776,7 +776,7 @@ static void activate_run_state(struct fpi_ssm *ssm)
read_regs(dev, activate_read_regs_cb, ssm);
break;
case WRITE_INIT_3:
aes_write_regv(dev, init_4, G_N_ELEMENTS(init_4),
aes_write_regv(dev, init_3, G_N_ELEMENTS(init_3),
activate_init3_cb, ssm);
break;
case WRITE_INIT_4: