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