Repository navigation
Commit ca65a29
committed
audio: eq_iir: Clear lookup tail with memset
Use memset() to zero the unused tail of the response lookup array in
eq_iir_walk_config() instead of a per-slot loop. The walk pre-clears
the whole table once when a lookup is requested and then fills the
in-use entries.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>1 parent 442b1d4 commit ca65a29
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
273 | 276 | | |
274 | 277 | | |
275 | 278 | | |
276 | 279 | | |
277 | 280 | | |
278 | 281 | | |
279 | 282 | | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | 283 | | |
285 | 284 | | |
286 | 285 | | |
| |||
0 commit comments