Commit 06cf176
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 1d62423 commit 06cf176
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
587 | 590 | | |
| 591 | + | |
| 592 | + | |
588 | 593 | | |
589 | 594 | | |
590 | 595 | | |
| |||
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