Commit 0d8ae77
committed
ASoC: cs42l84: Do not enable the PLL before the clocks are ready
Enabling the PLL with no valid input clock leads to PLL errors. Don't do
that, always disable the PLL before reconfiguring it and let unmute take
care of enabling the PLL.
Also monitor the PLL error bit and complain if it's set.
Signed-off-by: Hector Martin <[email protected]>1 parent 3716791 commit 0d8ae77
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
| 436 | + | |
| 437 | + | |
436 | 438 | | |
437 | 439 | | |
438 | 440 | | |
| |||
456 | 458 | | |
457 | 459 | | |
458 | 460 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | 461 | | |
464 | 462 | | |
465 | 463 | | |
| |||
633 | 631 | | |
634 | 632 | | |
635 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
636 | 637 | | |
637 | 638 | | |
638 | 639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments