summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard/lpc32xx-keys.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2023-01-16 10:07:54 +0300
committerMark Brown <broonie@kernel.org>2023-01-16 14:16:33 +0300
commita23924b7dd7b748fff8e305e1daf590fed2af21b (patch)
treef7322973ff00c72038d7bdf1a80a43896f1920b2 /drivers/input/keyboard/lpc32xx-keys.c
parent497f134a912af5594a519eb1d226a13f54cb9fa5 (diff)
downloadlinux-a23924b7dd7b748fff8e305e1daf590fed2af21b.tar.xz
ASoC: fsl_sai: initialize is_dsp_mode flag
Initialize is_dsp_mode flag in the beginning of function fsl_sai_set_dai_fmt_tr(). When the DAIFMT is DAIFMT_DSP_B the first time, is_dsp_mode is true, then the second time DAIFMT is DAIFMT_I2S, is_dsp_mode still true, which is a wrong state. So need to initialize is_dsp_mode flag every time. Fixes: a3f7dcc9cc03 ("ASoC: fsl-sai: Add SND_SOC_DAIFMT_DSP_A/B support.") Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com> Link: https://lore.kernel.org/r/1673852874-32200-1-git-send-email-shengjiu.wang@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/input/keyboard/lpc32xx-keys.c')
0 files changed, 0 insertions, 0 deletions