Commit a0e6da2
committed
Audio: EQ FIR: Remove bytes control blob set from init()
The pass of bytes control in init() was used in some very early
IPC3 kernels. With IPC4 the module configuration data is not for
control. If a topology does not contain a blob to initialize the
control, the comp_init_data_blob() call initializes to blob
handler an invalid blob that is attempted to be used in prepare().
The prepare() then fails with invalid blob detected while it
should result to pass-through mode.
A check is also added to prepare() for the data_size
from comp_get_data_blob().
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>1 parent da1eaa7 commit a0e6da2
1 file changed
Lines changed: 5 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | 250 | | |
252 | | - | |
253 | 251 | | |
254 | | - | |
255 | 252 | | |
256 | 253 | | |
257 | 254 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | 255 | | |
268 | 256 | | |
269 | 257 | | |
| |||
277 | 265 | | |
278 | 266 | | |
279 | 267 | | |
280 | | - | |
281 | | - | |
| 268 | + | |
| 269 | + | |
282 | 270 | | |
283 | 271 | | |
284 | 272 | | |
285 | 273 | | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | 274 | | |
296 | 275 | | |
297 | 276 | | |
298 | 277 | | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | 278 | | |
306 | 279 | | |
307 | 280 | | |
| |||
413 | 386 | | |
414 | 387 | | |
415 | 388 | | |
| 389 | + | |
416 | 390 | | |
417 | 391 | | |
418 | 392 | | |
| |||
435 | 409 | | |
436 | 410 | | |
437 | 411 | | |
438 | | - | |
439 | | - | |
| 412 | + | |
| 413 | + | |
440 | 414 | | |
441 | 415 | | |
442 | 416 | | |
| |||
0 commit comments