mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user