From fe2d52cc7d0180acff26349f2904fba854de6fbc Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 30 Oct 2020 20:30:27 -0400 Subject: pcm: Get rid of pcm_play_pause() and associated APIs Nothing in the core has used it for some time. It's exported to the plugin API but the last plugins to use it were switched to the mixer API back in 2011. This allows us to get rid of pcm_play_dma_pause() from all audio drivers Change-Id: Ic3fa02592316f84963e41d792d1cabb436d1ff6b --- firmware/target/arm/s5l8700/pcm-s5l8700.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'firmware/target/arm/s5l8700/pcm-s5l8700.c') 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 @@ /* Driver for the IIS/PCM part of the s5l8700 using DMA Notes: - - pcm_play_dma_pause is untested, not sure if implemented the right way - pcm_play_dma_stop is untested, not sure if implemented the right way - recording is not implemented */ @@ -173,17 +172,6 @@ void pcm_play_dma_stop(void) (0 << 0); /* 0 = LRCK on */ } -/* pause playback by disabling the I2S interface */ -void pcm_play_dma_pause(bool pause) -{ - if (pause) { - I2STXCOM |= (1 << 0); /* LRCK off */ - } - else { - I2STXCOM &= ~(1 << 0); /* LRCK on */ - } -} - static void pcm_dma_set_freq(enum hw_freq_indexes idx) { struct div_entry div = div_table[idx]; -- cgit v1.2.2