linux/sound/soc/fsl
Ahmad Fatoum 814c9fc46f
ASoC: fsl_sai: simplify register poking in fsl_sai_set_bclk
Depending on SAI synchronization mode, the same value is either
written to FSL_SAI_TCR2 or FSL_SAI_RCR2 or nothing is written at all.

As the computation is the same either way, factor it out to make it
clearer what the difference is. No functional change.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.kernel.org/r/20220302083428.3804687-4-s.hauer@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-03-07 13:13:05 +00:00
..
efika-audio-fabric.c ASoC: fsl: efika-audio-fabric: use modern dai_link style 2019-06-06 21:41:08 +01:00
eukrea-tlv320.c ASoC: eureka-tlv320: Update to modern clocking terminology 2021-09-22 13:23:16 +01:00
fsl_asrc_common.h ASoC: fsl_asrc_dma: Fix data copying speed issue with EDMA 2020-06-12 14:18:04 +01:00
fsl_asrc_dma.c ASoC: fsl_asrc_dma: Use managed buffer allocation 2021-08-04 08:09:02 +02:00
fsl_asrc.c ASoC: fsl_asrc: refine the check of available clock divider 2022-01-06 13:55:54 +00:00
fsl_asrc.h ASoC: fsl_asrc: Move common definition to fsl_asrc_common 2020-04-21 16:34:09 +01:00
fsl_aud2htx.c ASoC: fsl: Drop unused argument from imx_pcm_dma_init() 2022-02-28 13:33:57 +00:00
fsl_aud2htx.h ASoC: fsl_aud2htx: Add aud2htx module driver 2020-11-05 17:06:16 +00:00
fsl_audmix.c ASoC: fsl-audmix: Update to modern clocking terminology 2021-09-22 13:23:18 +01:00
fsl_audmix.h ASoC: fsl_audmix: Add spin lock to protect tdms 2019-11-11 13:01:37 +00:00
fsl_dma.c ASoC: fsl_dma: Use managed buffer allocation 2021-08-04 08:09:09 +02:00
fsl_dma.h ASoC: fsl-dma: Switch to SPDX identifier 2019-04-08 13:51:01 +07:00
fsl_easrc.c ASoC: fsl_easrc: Use devm_platform_get_and_ioremap_resource() 2021-06-21 13:03:13 +01:00
fsl_easrc.h ASoC: fsl_easrc: Add EASRC ASoC CPU DAI drivers 2020-04-21 16:34:11 +01:00
fsl_esai.c ASoC: fsl: Drop unused argument from imx_pcm_dma_init() 2022-02-28 13:33:57 +00:00
fsl_esai.h ASoC: fsl_esai: Switch to SPDX identifier 2018-05-03 10:29:05 +09:00
fsl_micfil.c ASoC: fsl_micfil: register platform component before registering cpu dai 2021-09-10 15:08:23 +01:00
fsl_micfil.h ASoC: Add MICFIL SoC Digital Audio Interface driver. 2019-01-07 17:00:55 +00:00
fsl_mqs.c ASoC: fsl_mqs: fix MODULE_ALIAS 2022-01-04 14:59:37 +00:00
fsl_rpmsg.c ASoC: fsl_rpmsg: Add rpmsg audio support for i.MX8ULP 2021-09-30 13:26:05 +01:00
fsl_rpmsg.h ASoC: fsl_rpmsg: add soc specific data structure 2021-09-13 01:59:15 +01:00
fsl_sai.c ASoC: fsl_sai: simplify register poking in fsl_sai_set_bclk 2022-03-07 13:13:05 +00:00
fsl_sai.h ASoC: fsl_sai: Drop unnecessary defines 2022-03-07 13:13:03 +00:00
fsl_spdif.c ASoC: fsl: Drop unused argument from imx_pcm_dma_init() 2022-02-28 13:33:57 +00:00
fsl_spdif.h ASoC: fsl_spdif: add support for enabling raw capture mode 2021-05-10 13:05:31 +01:00
fsl_ssi_dbg.c ASoC: fsl: fsl_ssi_dbg: remove spurious kernel-doc comment start 2020-07-03 16:09:24 +01:00
fsl_ssi.c ASoC: fsl: Drop unused argument from imx_pcm_dma_init() 2022-02-28 13:33:57 +00:00
fsl_ssi.h ASoC: fsl: no need to check return value of debugfs_create functions 2019-06-14 16:37:48 +01:00
fsl_utils.c ASoC: fsl: mpc8610_hpcd/p1022_ds/p1022_rdk: use modern dai_link style 2019-06-06 21:42:35 +01:00
fsl_utils.h ASoC: fsl_utils: Switch to SPDX identifier 2018-07-24 16:59:03 +01:00
fsl_xcvr.c ASoC: fsl_xcvr: Fix channel swap issue with ARC 2021-09-21 13:23:36 +01:00
fsl_xcvr.h ASoC: fsl_xcvr: Add XCVR ASoC CPU DAI driver 2020-10-26 15:45:31 +00:00
fsl-asoc-card.c ASoC: fsl-asoc-card: Remove BCLK default value for tlv320aic31xx card 2022-01-24 13:31:51 +00:00
imx-audio-rpmsg.c ASoC: imx-audio-rpmsg: use module_rpmsg_driver to simplify the code 2021-06-03 13:59:57 +01:00
imx-audmix.c ASoC: imx-audmix: Update to modern clocking terminology 2021-09-22 13:23:23 +01:00
imx-audmux.c ASoC: imx-audmux: Remove unused .id_table 2020-11-23 20:39:50 +00:00
imx-audmux.h
imx-card.c ASoC: imx-card: improve the sound quality for low rate 2022-01-06 13:55:45 +00:00
imx-es8328.c ASoC: imx-es8328: Update to modern clocking terminology 2021-09-22 13:23:25 +01:00
imx-hdmi.c ASoC: imx-hdmi: add put_device() after of_find_device_by_node() 2021-11-26 13:24:28 +00:00
imx-pcm-dma.c ASoC: fsl: Drop unused argument from imx_pcm_dma_init() 2022-02-28 13:33:57 +00:00
imx-pcm-fiq.c ASoC: fsl: imx-pcm-fiq: Use managed buffer allocation 2021-08-04 08:08:42 +02:00
imx-pcm-rpmsg.c ASoC: fsl: imx-pcm-rpmsg: Use managed buffer allocation 2021-08-04 08:08:49 +02:00
imx-pcm-rpmsg.h ASoC: imx-pcm-rpmsg: Fix warning of incorrect type in assignment 2021-05-10 13:05:38 +01:00
imx-pcm.h ASoC: fsl: Drop unused argument from imx_pcm_dma_init() 2022-02-28 13:33:57 +00:00
imx-rpmsg.c ASoC: imx-rpmsg: Update to modern clocking terminology 2021-09-22 13:23:27 +01:00
imx-sgtl5000.c ASoC: fsl: Use dev_err_probe() helper 2021-12-20 12:47:14 +00:00
imx-spdif.c ASoC: fsl: Use dev_err_probe() helper 2021-12-20 12:47:14 +00:00
imx-ssi.h ASoC: imx-ssi: Switch to SPDX identifier 2019-04-08 13:53:35 +07:00
Kconfig ASoC: fsl-asoc-card: Add missing Kconfig option for tlv320aic31xx 2021-12-06 13:49:19 +00:00
Makefile ASoC: imx-card: Add imx-card machine driver 2021-05-20 17:57:30 +01:00
mpc5200_dma.c ASoC: mpc5200: Use managed buffer allocation 2021-08-04 08:09:16 +02:00
mpc5200_dma.h
mpc5200_psc_ac97.c ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
mpc5200_psc_i2s.c ASoC: fsl: use asoc_substream_to_rtd() 2020-07-23 19:07:31 +01:00
mpc8610_hpcd.c ASoC: mpc8610_hpcd: Update to modern clocking terminology 2021-09-22 13:23:29 +01:00
p1022_ds.c ASoC: pl1022_ds: Update to modern clocking terminology 2021-09-22 13:23:30 +01:00
p1022_rdk.c ASoC: pl1022_rdk: Update to modern clocking terminology 2021-09-22 13:23:31 +01:00
pcm030-audio-fabric.c ASoC: fsl: pcm030-audio-fabric: use modern dai_link style 2019-06-06 21:43:43 +01:00