The clocks can never be on at this stage, because we explicitly enable
them before starting the amplifier and disable them when we stop it.
Change-Id: Ic28bd30ceb286ba3ffa862aa528959a842e599dc
(cherry picked from commit
21ebcea84f1dfd371685a39d94088b86eed9e083)
}
// this implementation requires explicit clock control
- if (on && !tfa_dev->clock_enabled) {
+ if (on) {
tfa_clock_on(tfa_dev);
- } else if (!on && tfa_dev->clock_enabled) {
- tfa_clock_off(tfa_dev);
}
rc = tfa_dev->tfa_enable(tfa_dev->tfa_handle, on ? 1 : 0);