[Sound-open-firmware] [PATCH] timer: remove TIMER_AUDIO macro

Liam Girdwood liam.r.girdwood at linux.intel.com
Mon Mar 12 14:30:37 CET 2018


Not used anywhere so delete it.

Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 src/platform/apollolake/include/platform/timer.h | 2 --
 src/platform/baytrail/include/platform/timer.h   | 2 --
 src/platform/cannonlake/include/platform/timer.h | 2 --
 src/platform/haswell/include/platform/timer.h    | 2 --
 4 files changed, 8 deletions(-)

diff --git a/src/platform/apollolake/include/platform/timer.h b/src/platform/apollolake/include/platform/timer.h
index 7609324..de7fa8b 100644
--- a/src/platform/apollolake/include/platform/timer.h
+++ b/src/platform/apollolake/include/platform/timer.h
@@ -45,8 +45,6 @@
 #define TIMER3		IRQ_EXT_TSTAMP0_LVL2(0)
 #define TIMER4		IRQ_EXT_TSTAMP1_LVL2(0)
 
-#define TIMER_AUDIO	TIMER3
-
 struct comp_dev;
 struct sof_ipc_stream_posn;
 
diff --git a/src/platform/baytrail/include/platform/timer.h b/src/platform/baytrail/include/platform/timer.h
index 8f0aea4..a603f38 100644
--- a/src/platform/baytrail/include/platform/timer.h
+++ b/src/platform/baytrail/include/platform/timer.h
@@ -44,8 +44,6 @@
 #define TIMER2		IRQ_NUM_TIMER3
 #define TIMER3		IRQ_NUM_EXT_TIMER
 
-#define TIMER_AUDIO	TIMER3
-
 struct comp_dev;
 struct sof_ipc_stream_posn;
 
diff --git a/src/platform/cannonlake/include/platform/timer.h b/src/platform/cannonlake/include/platform/timer.h
index e00746d..a072f45 100644
--- a/src/platform/cannonlake/include/platform/timer.h
+++ b/src/platform/cannonlake/include/platform/timer.h
@@ -46,8 +46,6 @@
 #define TIMER3		IRQ_EXT_TSTAMP0_LVL2(0)
 #define TIMER4		IRQ_EXT_TSTAMP1_LVL2(0)
 
-#define TIMER_AUDIO	TIMER3
-
 struct comp_dev;
 struct sof_ipc_stream_posn;
 
diff --git a/src/platform/haswell/include/platform/timer.h b/src/platform/haswell/include/platform/timer.h
index 0aa3ed2..690d6c6 100644
--- a/src/platform/haswell/include/platform/timer.h
+++ b/src/platform/haswell/include/platform/timer.h
@@ -43,8 +43,6 @@
 #define TIMER1		IRQ_NUM_TIMER2
 #define TIMER2		IRQ_NUM_TIMER3
 
-#define TIMER_AUDIO	TIMER0
-
 struct comp_dev;
 struct sof_ipc_stream_posn;
 
-- 
2.14.1



More information about the Sound-open-firmware mailing list