alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: uda1380: Remove unused DAI ID defines
@ 2016-11-23  9:30 Lars-Peter Clausen
  2016-11-23  9:30 ` [PATCH 2/2] ASoC: uda1380: Request GPIOs at bus probe time Lars-Peter Clausen
  2016-11-23 12:38 ` Applied "ASoC: uda1380: Remove unused DAI ID defines" " Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Lars-Peter Clausen @ 2016-11-23  9:30 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Lars-Peter Clausen

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. The last user of these defines was removed in commit
f0fba2ad1b6b ("ASoC: multi-component - ASoC Multi-Component Support"). So
remove the defines as well.

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

diff --git a/sound/soc/codecs/uda1380.h b/sound/soc/codecs/uda1380.h
index 942e392..69a326a 100644
--- a/sound/soc/codecs/uda1380.h
+++ b/sound/soc/codecs/uda1380.h
@@ -72,8 +72,4 @@
 #define R22_SKIP_DCFIL	0x0002
 #define R23_AGC_EN	0x0001
 
-#define UDA1380_DAI_DUPLEX	0 /* playback and capture on single DAI */
-#define UDA1380_DAI_PLAYBACK	1 /* playback DAI */
-#define UDA1380_DAI_CAPTURE	2 /* capture DAI */
-
 #endif /* _UDA1380_H */
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-23 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-23  9:30 [PATCH 1/2] ASoC: uda1380: Remove unused DAI ID defines Lars-Peter Clausen
2016-11-23  9:30 ` [PATCH 2/2] ASoC: uda1380: Request GPIOs at bus probe time Lars-Peter Clausen
2016-11-23 12:38   ` Applied "ASoC: uda1380: Request GPIOs at bus probe time" to the asoc tree Mark Brown
2016-11-23 12:38 ` Applied "ASoC: uda1380: Remove unused DAI ID defines" " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).