Commit 0371546
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 9a3d244 commit 0371546
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
593 | 596 | | |
| 597 | + | |
| 598 | + | |
594 | 599 | | |
595 | 600 | | |
596 | 601 | | |
597 | 602 | | |
598 | 603 | | |
599 | 604 | | |
600 | 605 | | |
601 | | - | |
602 | | - | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
603 | 610 | | |
604 | 611 | | |
605 | 612 | | |
| |||
661 | 668 | | |
662 | 669 | | |
663 | 670 | | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | 671 | | |
668 | 672 | | |
669 | 673 | | |
| |||
0 commit comments