Commit b373076
committed
ASoC: mt8192: Fix event generation for controls
ALSA controls put() operations should return 1 if the value changed and 0
if it remains the same, fix the mt8192 driver to do so.
Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Tested-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230223-asoc-mt8192-quick-fixes-v1-2-9a85f90368e1@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent 5df1a5d commit b373076
1 file changed
Lines changed: 18 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
| 594 | + | |
594 | 595 | | |
595 | 596 | | |
596 | 597 | | |
597 | 598 | | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
602 | 604 | | |
603 | | - | |
| 605 | + | |
| 606 | + | |
604 | 607 | | |
605 | 608 | | |
606 | 609 | | |
| |||
621 | 624 | | |
622 | 625 | | |
623 | 626 | | |
| 627 | + | |
624 | 628 | | |
625 | 629 | | |
626 | 630 | | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
627 | 634 | | |
628 | 635 | | |
629 | | - | |
| 636 | + | |
| 637 | + | |
630 | 638 | | |
631 | 639 | | |
632 | 640 | | |
| |||
647 | 655 | | |
648 | 656 | | |
649 | 657 | | |
| 658 | + | |
650 | 659 | | |
651 | 660 | | |
652 | 661 | | |
| 662 | + | |
653 | 663 | | |
654 | | - | |
| 664 | + | |
| 665 | + | |
655 | 666 | | |
656 | 667 | | |
657 | 668 | | |
| |||
0 commit comments