ASoC: sti: add missing probe entry for player and reader
authorJerome Audu <jau@free.fr>
Sat, 27 Jul 2024 13:40:15 +0000 (15:40 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 29 Jul 2024 12:36:56 +0000 (13:36 +0100)
commit6b99068d5ea0aa295f15f30afc98db74d056ec7b
tree78084f4f65633713d6b27c39d688d11cb82b7f18
parent8400291e289ee6b2bf9779ff1c83a291501f017b
ASoC: sti: add missing probe entry for player and reader

This patch addresses a regression in the ASoC STI drivers that was
introduced in Linux version 6.6.y. The issue originated from a series of
patches (see https://lore.kernel.org/all/87wmy5b0wt.wl-kuninori.morimoto.gx@renesas.com/)
that unintentionally omitted necessary probe functions for the player
and reader components.

Probe function in `sound/soc/sti/sti_uniperif.c:415` is being replaced
by another probe function located at `sound/soc/sti/sti_uniperif.c:453`,
which should instead be derived from the player and reader components.
This patch correctly reinserts the missing probe entries,
restoring the intended functionality.

Fixes: 9f625f5e6cf9 ("ASoC: sti: merge DAI call back functions into ops")
Signed-off-by: Jerome Audu <jau@free.fr>
Link: https://patch.msgid.link/20240727-sti-audio-fix-v2-1-208bde546c3f@free.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sti/sti_uniperif.c
sound/soc/sti/uniperif.h
sound/soc/sti/uniperif_player.c
sound/soc/sti/uniperif_reader.c