]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: mxs-saif: support usage with simple-audio-card
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Wed, 24 Sep 2025 13:07:44 +0000 (15:07 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 16 Oct 2025 13:25:41 +0000 (14:25 +0100)
commit1e570e77392f43a3cdab2849d1f81535f8a033e2
tree16e6cefe98c64d00656281f6ac3987305752ac39
parent6621b0f118d500092f5f3d72ddddb22aeeb3c3a0
ASoC: mxs-saif: support usage with simple-audio-card

Add support for enabling MCLK output when using the simple-audio-card
driver. In the sound/soc/mxs/mxs-sgtl5000.c use case, that driver
handles MCLK enable/disable by calling mxs_saif_get_mclk() and
mxs_saif_put_mclk() at probe/remove. This does not happen when the
simple-audio-card driver is used. Extend the mxs-saif driver to enable
MCLK output in that scenario.

Co-developed-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://patch.msgid.link/20250924130749.3012071-1-dario.binacchi@amarulasolutions.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mxs/mxs-saif.c