mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Actually program the list of recording devices in sv_mix_setrecsrc().
This change has not been tested. This change was triggered by a gcc(1) warning on ia64 at -O2. The variable v was not used after being computed, which resulted in enough dead code elimination (DCE) to confuse the compiler and emit a bogus warning about the use of the variable i without prior definition. The variable i is the loop variable. Submitted by: des Responsibility: marcel
This commit is contained in:
parent
5ab92b80d0
commit
056dc22c4f
1 changed files with 1 additions and 0 deletions
|
|
@ -547,6 +547,7 @@ sv_mix_setrecsrc(struct snd_mixer *m, u_int32_t mask)
|
|||
}
|
||||
}
|
||||
DEB(printf("sv_mix_setrecsrc: mask 0x%08x adc_input 0x%02x\n", mask, v));
|
||||
sv_indirect_set(sc, SV_REG_ADC_INPUT, v);
|
||||
return mask;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue