Revert "Apply DA model specification" 15/309815/1
authorWootak Jung <wootak.jung@samsung.com>
Wed, 17 Apr 2024 02:58:01 +0000 (11:58 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Wed, 17 Apr 2024 05:01:06 +0000 (14:01 +0900)
This reverts commit d3be6a9404f73ee12f18ed0c0fd778e6808d0e74.

Change-Id: Iac6480ee93d1023d0f7016ecaea528271f966e63

profiles/audio/avrcp.c
profiles/audio/media.c

index 9a846c306dd1a2b457c953287f07eaafc5c7eb46..bbda7f66c3798d476c3572d75589033a0fdefbd1 100644 (file)
@@ -5297,11 +5297,6 @@ static int avrcp_target_server_probe(struct btd_profile *p,
        sdp_record_t *record;
        struct avrcp_server *server;
 
-       if (TIZEN_FEATURE_BLUEZ_DA && !TIZEN_FEATURE_BLUEZ_FHUB) {
-               DBG("AVRCP Target not supported in DA (non-fhub) product");
-               return -1;
-       }
-
        DBG("path %s", adapter_get_path(adapter));
 
        server = find_server(servers, adapter);
@@ -5390,11 +5385,6 @@ static int avrcp_controller_server_probe(struct btd_profile *p,
        sdp_record_t *record;
        struct avrcp_server *server;
 
-       if (TIZEN_FEATURE_BLUEZ_DA && !TIZEN_FEATURE_BLUEZ_FHUB) {
-               DBG("AVRCP Controller not supported in DA (non-fhub) product");
-               return -1;
-       }
-
        DBG("path %s", adapter_get_path(adapter));
 
        server = find_server(servers, adapter);
index af5412fa2310f0498f0b92ff76bda070e4c06fe6..3b6bc239233cd162ec647d79de4c443e6bd5c44b 100644 (file)
@@ -905,11 +905,6 @@ static void a2dp_destroy_endpoint(void *user_data)
 
 static bool endpoint_init_a2dp_source(struct media_endpoint *endpoint, int *err)
 {
-       if (TIZEN_FEATURE_BLUEZ_DA && !TIZEN_FEATURE_BLUEZ_FHUB) {
-               DBG("A2DP source not supported in DA (non-fhub) product");
-               return FALSE;
-       }
-
        endpoint->sep = a2dp_add_sep(endpoint->adapter->btd_adapter,
                                        AVDTP_SEP_TYPE_SOURCE, endpoint->codec,
                                        endpoint->delay_reporting, &a2dp_endpoint,
@@ -926,11 +921,6 @@ static bool endpoint_init_a2dp_source(struct media_endpoint *endpoint, int *err)
 
 static bool endpoint_init_a2dp_sink(struct media_endpoint *endpoint, int *err)
 {
-       if (TIZEN_FEATURE_BLUEZ_DA && !TIZEN_FEATURE_BLUEZ_FHUB) {
-               DBG("A2DP sink not supported in DA (non-fhub) product");
-               return FALSE;
-       }
-
        endpoint->sep = a2dp_add_sep(endpoint->adapter->btd_adapter,
                                        AVDTP_SEP_TYPE_SINK, endpoint->codec,
                                        endpoint->delay_reporting, &a2dp_endpoint,