]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: fsl_micfil: Differentiate register access permission for platforms
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 25 Jul 2024 08:54:54 +0000 (16:54 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 29 Jul 2024 12:36:14 +0000 (13:36 +0100)
commitaa4f76ef09a993efa9b5fab6ddf5d6d324baaea3
tree8199066be0b7327be6e90dc0da9097b01e526356
parent4ddd51ccff911a2e9e961307692532a325f6c78a
ASoC: fsl_micfil: Differentiate register access permission for platforms

On i.MX9x platforms, the REG_MICFIL_FSYNC_CTRL, REG_MICFIL_VERID,
REG_MICFIL_PARAM are added, but they are not existed on i.MX8x
platforms.

Use the existed micfil->soc->use_verid to distinguish the access
permission for these platforms.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/1721897694-6088-3-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_micfil.c