rockchip64-6.13: revert rk3308 analog codec to vendor code

This commit is contained in:
amazingfate 2024-12-24 00:47:45 +08:00 committed by Jianfeng Liu
parent 052010be82
commit c444c94de1
2 changed files with 7159 additions and 13 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +0,0 @@
diff --git a/sound/soc/codecs/rk3308_codec.c b/sound/soc/codecs/rk3308_codec.c
index 8b51e87a1711..f3c8716215a8 100644
--- a/sound/soc/codecs/rk3308_codec.c
+++ b/sound/soc/codecs/rk3308_codec.c
@@ -854,7 +854,7 @@ static int rk3308_codec_get_version(struct rk3308_codec_priv *rk3308)
break;
case 0x3308:
rk3308->codec_ver = ACODEC_VERSION_B;
- return dev_err_probe(rk3308->dev, -EINVAL, "Chip version B not supported\n");
+ break;
case 0x3308c:
rk3308->codec_ver = ACODEC_VERSION_C;
break;