Commit 9be436d
committed
ASoC: SOF: ipc4-topology: reset pipeline mem_usage during unprepare
The mem_usage for a pipeline is updated when the widgets in the
pipeline are prepare. So, reset it when a widget in the pipeline is
unprepared. The ipc_unprepare for the pipeline widget might be called
multiple times when each widget associated with the pipeline is
unprepared and it is harmless.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>1 parent 49d1bf6 commit 9be436d
2 files changed
+23
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1501 | 1501 | | |
1502 | 1502 | | |
1503 | 1503 | | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
1504 | 1512 | | |
1505 | 1513 | | |
1506 | 1514 | | |
| |||
3011 | 3019 | | |
3012 | 3020 | | |
3013 | 3021 | | |
3014 | | - | |
3015 | 3022 | | |
3016 | 3023 | | |
3017 | 3024 | | |
| |||
3637 | 3644 | | |
3638 | 3645 | | |
3639 | 3646 | | |
3640 | | - | |
| 3647 | + | |
3641 | 3648 | | |
3642 | 3649 | | |
3643 | 3650 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
451 | 453 | | |
452 | 454 | | |
453 | 455 | | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
454 | 460 | | |
455 | 461 | | |
456 | 462 | | |
| |||
1085 | 1091 | | |
1086 | 1092 | | |
1087 | 1093 | | |
1088 | | - | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
1089 | 1097 | | |
1090 | 1098 | | |
1091 | 1099 | | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
1092 | 1104 | | |
1093 | 1105 | | |
1094 | 1106 | | |
| |||
0 commit comments