]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: qcom: sm8250: set card driver name from match data
authorLuca Weiss <luca.weiss@fairphone.com>
Wed, 7 May 2025 08:01:38 +0000 (10:01 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 8 Jun 2025 22:30:17 +0000 (23:30 +0100)
commitc4b79a2fbfb28308e958e4ffdd988f3cf678fe2a
tree45991046506e459d6d7e85ad8cfc9b74130c233d
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
ASoC: qcom: sm8250: set card driver name from match data

Sound machine drivers for Qualcomm SoCs can be reused across multiple
SoCs. But user space ALSA UCM files depend on the card driver name which
should be set per board/SoC.

Allow such customization by using driver match data as sound card driver
name. The QRB4210 RB2 gets its name set to "sm4250" as requested by
Srinivas Kandagatla, and since no (known) UCM has been written yet this
should not break anything.

Also while we're already touching these lines, sort the compatibles
alphabetically.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20250507-fp5-dp-sound-v4-2-4098e918a29e@fairphone.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/sm8250.c