aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Frattaroli <[email protected]>2021-11-21 16:05:20 +0100
committerMark Brown <[email protected]>2021-11-22 15:40:03 +0000
commit428ee30a05cd1362c8aa86a4c909b0d1c6bc48a4 (patch)
tree7101112235bb33307c19e32adb505cbb72f8cccd
parent28c916ade1bd4205958f74bb817fd3a05dbb7afc (diff)
ASoC: rk817: Add module alias for rk817-codec
Without a module alias, autoloading the driver does not occurr when it is built as a module. By adding a module alias, the driver now probes fine automatically and therefore analog audio output works as it should. Fixes: 0d6a04da9b25 ("ASoC: Add Rockchip rk817 audio CODEC support") Signed-off-by: Nicolas Frattaroli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/codecs/rk817_codec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rk817_codec.c b/sound/soc/codecs/rk817_codec.c
index 943d7d933e81..03f24edfe4f6 100644
--- a/sound/soc/codecs/rk817_codec.c
+++ b/sound/soc/codecs/rk817_codec.c
@@ -539,3 +539,4 @@ module_platform_driver(rk817_codec_driver);
MODULE_DESCRIPTION("ASoC RK817 codec driver");
MODULE_AUTHOR("binyuan <[email protected]>");
MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:rk817-codec");