Commit 9539202
committed
soundwire: generic_bandwidth_allocation: check bandwidth with real
colume
The existing code assumes the column number will not change, but it
could change if curr_dr_freq changes. Calculate the new column number
before checking the bandwidth to make the checking be more accurate.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>1 parent 86c4ff7 commit 9539202
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
583 | 586 | | |
| 587 | + | |
| 588 | + | |
584 | 589 | | |
585 | 590 | | |
586 | 591 | | |
| |||
592 | 597 | | |
593 | 598 | | |
594 | 599 | | |
595 | | - | |
596 | | - | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
597 | 604 | | |
598 | 605 | | |
599 | 606 | | |
| |||
655 | 662 | | |
656 | 663 | | |
657 | 664 | | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | 665 | | |
662 | 666 | | |
663 | 667 | | |
| |||
0 commit comments