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:
parent
ff5de4ff03
commit
bc30a3d2e5
1 changed files with 1 additions and 1 deletions
|
@ -776,7 +776,7 @@ static void activate_run_state(struct fpi_ssm *ssm)
|
||||||
read_regs(dev, activate_read_regs_cb, ssm);
|
read_regs(dev, activate_read_regs_cb, ssm);
|
||||||
break;
|
break;
|
||||||
case WRITE_INIT_3:
|
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);
|
activate_init3_cb, ssm);
|
||||||
break;
|
break;
|
||||||
case WRITE_INIT_4:
|
case WRITE_INIT_4:
|
||||||
|
|
Loading…
Reference in a new issue