+7
−0
sound/soc/codecs/wcd-common.c
0 → 100644
+70
−0
sound/soc/codecs/wcd-common.h
0 → 100644
+27
−0
+23
−59
Loading
All the Qualcomm WCD codecs have most of its code duplicated across all these 3/4 drivers. This is an attempt to remove those duplicate parts by adding a common helper library for these codecs. To start with move all the micbias parsing and voltage settings these are identical in WCD934x, WCD937x, WCD938x and WCD939x codec driver. Signed-off-by:Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> Reviewed-by:
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://patch.msgid.link/20250909121954.225833-8-srinivas.kandagatla@oss.qualcomm.com Signed-off-by:
Mark Brown <broonie@kernel.org>