aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/audio_apbridgea.c
diff options
context:
space:
mode:
authorMark Greer <mgreer@animalcreek.com>2016-08-02 20:36:07 -0700
committerGreg Kroah-Hartman <gregkh@google.com>2016-08-03 10:59:13 +0200
commitccc57e20d1cc54b6536a4e63f6da91f42b65000f (patch)
tree28f03cf6a632fc73b81a5d6ed5d793fc10a9ea4a /drivers/staging/greybus/audio_apbridgea.c
parentgreybus: timesync: Printout strobe count on sync failure (diff)
downloadlinux-dev-ccc57e20d1cc54b6536a4e63f6da91f42b65000f.tar.xz
linux-dev-ccc57e20d1cc54b6536a4e63f6da91f42b65000f.zip
greybus: audio: apbridgea: Remove GET_TX/RX_DELAY message types
The 'AUDIO_APBRIDGEA_TYPE_GET_TX_DELAY' and 'AUDIO_APBRIDGEA_TYPE_GET_RX_DELAY' message types have been removed from the AP <-> APBrigdeA Audio Protocol so remove them from the code. Do not coalesce the message type numbers to prevent compatibility issues between the AP and APBridgeA. Testing Done: Played music using a speaker module Signed-off-by: Mark Greer <mgreer@animalcreek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/audio_apbridgea.c')
-rw-r--r--drivers/staging/greybus/audio_apbridgea.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/staging/greybus/audio_apbridgea.c b/drivers/staging/greybus/audio_apbridgea.c
index 45d3522789a8..1b4252d5d255 100644
--- a/drivers/staging/greybus/audio_apbridgea.c
+++ b/drivers/staging/greybus/audio_apbridgea.c
@@ -84,14 +84,6 @@ int gb_audio_apbridgea_set_tx_data_size(struct gb_connection *connection,
}
EXPORT_SYMBOL_GPL(gb_audio_apbridgea_set_tx_data_size);
-int gb_audio_apbridgea_get_tx_delay(struct gb_connection *connection,
- __u16 i2s_port, __u32 *delay)
-{
- /* TODO: implement */
- return -EOPNOTSUPP;
-}
-EXPORT_SYMBOL_GPL(gb_audio_apbridgea_get_tx_delay);
-
int gb_audio_apbridgea_prepare_tx(struct gb_connection *connection,
__u16 i2s_port)
{
@@ -158,14 +150,6 @@ int gb_audio_apbridgea_set_rx_data_size(struct gb_connection *connection,
}
EXPORT_SYMBOL_GPL(gb_audio_apbridgea_set_rx_data_size);
-int gb_audio_apbridgea_get_rx_delay(struct gb_connection *connection,
- __u16 i2s_port, __u32 *delay)
-{
- /* TODO: implement */
- return -EOPNOTSUPP;
-}
-EXPORT_SYMBOL_GPL(gb_audio_apbridgea_get_rx_delay);
-
int gb_audio_apbridgea_prepare_rx(struct gb_connection *connection,
__u16 i2s_port)
{