summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8700/pcm-s5l8700.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/s5l8700/pcm-s5l8700.c')
-rw-r--r--firmware/target/arm/s5l8700/pcm-s5l8700.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/firmware/target/arm/s5l8700/pcm-s5l8700.c b/firmware/target/arm/s5l8700/pcm-s5l8700.c
index d8387c2aa5..47525611ee 100644
--- a/firmware/target/arm/s5l8700/pcm-s5l8700.c
+++ b/firmware/target/arm/s5l8700/pcm-s5l8700.c
@@ -35,7 +35,6 @@
35/* Driver for the IIS/PCM part of the s5l8700 using DMA 35/* Driver for the IIS/PCM part of the s5l8700 using DMA
36 36
37 Notes: 37 Notes:
38 - pcm_play_dma_pause is untested, not sure if implemented the right way
39 - pcm_play_dma_stop is untested, not sure if implemented the right way 38 - pcm_play_dma_stop is untested, not sure if implemented the right way
40 - recording is not implemented 39 - recording is not implemented
41*/ 40*/
@@ -173,17 +172,6 @@ void pcm_play_dma_stop(void)
173 (0 << 0); /* 0 = LRCK on */ 172 (0 << 0); /* 0 = LRCK on */
174} 173}
175 174
176/* pause playback by disabling the I2S interface */
177void pcm_play_dma_pause(bool pause)
178{
179 if (pause) {
180 I2STXCOM |= (1 << 0); /* LRCK off */
181 }
182 else {
183 I2STXCOM &= ~(1 << 0); /* LRCK on */
184 }
185}
186
187static void pcm_dma_set_freq(enum hw_freq_indexes idx) 175static void pcm_dma_set_freq(enum hw_freq_indexes idx)
188{ 176{
189 struct div_entry div = div_table[idx]; 177 struct div_entry div = div_table[idx];