Commit 91318ce
committed
topology2: sdw-jack-generic: Make BE DAI and copiers honor SDW_JACK_CAPTURE_CH
The BE DAI, alh-copier and host-copier for capture should honor the number
of capture channels set by SDW_JACK_CAPTURE_CH.
Before this change, the value of SDW_JACK_CAPTURE_CH only affected the
min/max channels of the FE DAI but all the other objects in the pipeline
were defaulting to 2-channel. Because of this, the codec DAI was always
asked for a 2-channel capture, which won't work on codecs that only
support 1 channel. And the host-copier output was 2-channel audio that
could not be connected to the 1-channel DAI.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>1 parent 8c0c11b commit 91318ce
1 file changed
Lines changed: 19 additions & 1 deletion
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
354 | 355 | | |
355 | 356 | | |
356 | 357 | | |
| 358 | + | |
357 | 359 | | |
358 | 360 | | |
| 361 | + | |
359 | 362 | | |
360 | 363 | | |
361 | 364 | | |
| 365 | + | |
362 | 366 | | |
363 | 367 | | |
| 368 | + | |
364 | 369 | | |
365 | 370 | | |
366 | 371 | | |
| 372 | + | |
367 | 373 | | |
368 | 374 | | |
| 375 | + | |
369 | 376 | | |
370 | 377 | | |
371 | 378 | | |
| 379 | + | |
372 | 380 | | |
373 | 381 | | |
374 | 382 | | |
| 383 | + | |
375 | 384 | | |
376 | 385 | | |
377 | 386 | | |
| 387 | + | |
378 | 388 | | |
379 | 389 | | |
380 | 390 | | |
| 391 | + | |
381 | 392 | | |
382 | 393 | | |
383 | 394 | | |
| |||
386 | 397 | | |
387 | 398 | | |
388 | 399 | | |
| 400 | + | |
389 | 401 | | |
390 | 402 | | |
| 403 | + | |
391 | 404 | | |
392 | 405 | | |
393 | 406 | | |
| 407 | + | |
394 | 408 | | |
395 | 409 | | |
| 410 | + | |
396 | 411 | | |
397 | 412 | | |
398 | 413 | | |
| 414 | + | |
399 | 415 | | |
400 | 416 | | |
| 417 | + | |
401 | 418 | | |
402 | 419 | | |
403 | 420 | | |
| |||
444 | 461 | | |
445 | 462 | | |
446 | 463 | | |
| 464 | + | |
447 | 465 | | |
448 | 466 | | |
449 | 467 | | |
| |||
0 commit comments