Merge tag 'locking-urgent-2021-05-09' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / sound / soc / codecs / rt5665.c
index 8a915cd..e59323f 100644 (file)
@@ -4385,8 +4385,8 @@ static int rt5665_set_component_pll(struct snd_soc_component *component, int pll
        snd_soc_component_write(component, RT5665_PLL_CTRL_1,
                pll_code.n_code << RT5665_PLL_N_SFT | pll_code.k_code);
        snd_soc_component_write(component, RT5665_PLL_CTRL_2,
-               (pll_code.m_bp ? 0 : pll_code.m_code) << RT5665_PLL_M_SFT |
-               pll_code.m_bp << RT5665_PLL_M_BP_SFT);
+               ((pll_code.m_bp ? 0 : pll_code.m_code) << RT5665_PLL_M_SFT) |
+               (pll_code.m_bp << RT5665_PLL_M_BP_SFT));
 
        rt5665->pll_in = freq_in;
        rt5665->pll_out = freq_out;