Commit 70d1d30
ASoC: mediatek: mt8188: correct etdm control return value
In mt8188_etdm_clk_src_sel_put() function, val retrieved by FIELD_PREP
is shifted to the corresponding bit filed, so it can compare with the
register value directly.
Originally, the redundant bit shift of the register value results in
the wrong comparison result, so we remove bit shift operation in the
patch.
Fixes: 2babb47 ("ASoC: mediatek: mt8188: support etdm in platform driver")
Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Link: https://lore.kernel.org/r/20230215125017.16044-1-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent 51c58a1 commit 70d1d30
1 file changed
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
679 | 679 | | |
680 | 680 | | |
681 | 681 | | |
682 | | - | |
683 | 682 | | |
684 | 683 | | |
685 | 684 | | |
686 | 685 | | |
687 | 686 | | |
688 | 687 | | |
689 | 688 | | |
690 | | - | |
691 | 689 | | |
692 | 690 | | |
693 | 691 | | |
694 | 692 | | |
695 | | - | |
696 | 693 | | |
697 | 694 | | |
698 | 695 | | |
699 | 696 | | |
700 | | - | |
701 | 697 | | |
702 | 698 | | |
703 | 699 | | |
704 | 700 | | |
705 | | - | |
706 | 701 | | |
707 | 702 | | |
708 | 703 | | |
709 | 704 | | |
710 | | - | |
711 | 705 | | |
712 | 706 | | |
713 | 707 | | |
714 | 708 | | |
715 | 709 | | |
716 | 710 | | |
717 | 711 | | |
718 | | - | |
719 | | - | |
720 | 712 | | |
721 | 713 | | |
722 | 714 | | |
| |||
0 commit comments