[alsa-devel] [PATCH 1/3] ASoC: ak4641: Remove unused DAI ID defines

Lars-Peter Clausen lars at metafoo.de
Sat Oct 15 21:32:39 CEST 2016


The DAI ID defines are back from the time when DAIs were referenced by a
numerical ID. These days a string is used for matching instead and the
defines are unused. This driver was merged after the change of DAIs are
matched was made and the IDs were never used and presumably never will be,
so remove them.

Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
---
 sound/soc/codecs/ak4641.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sound/soc/codecs/ak4641.h b/sound/soc/codecs/ak4641.h
index 4a26324..38b9e93 100644
--- a/sound/soc/codecs/ak4641.h
+++ b/sound/soc/codecs/ak4641.h
@@ -38,10 +38,4 @@
 
 #define AK4641_CACHEREGNUM	0x14
 
-
-
-#define AK4641_DAI_HIFI		0
-#define AK4641_DAI_VOICE	1
-
-
 #endif
-- 
2.1.4



More information about the Alsa-devel mailing list