Revert "Apply DA model specification" 89/308089/1 accepted/tizen/7.0/unified/20240318.050115
authorWootak Jung <wootak.jung@samsung.com>
Sun, 17 Mar 2024 22:42:11 +0000 (07:42 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Sun, 17 Mar 2024 22:42:55 +0000 (07:42 +0900)
This reverts commit 936def7977917acff76828c02a080d91ecb26b95.

Change-Id: I3741d5136b021a681c0453b47889040ab34d1b6e

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

index a1ecc40fd69d1942a1e9db13f05578ba83a24a81..387b1a0691cf1f40babac7fda17ef5c49abb2515 100644 (file)
@@ -5294,11 +5294,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);
@@ -5387,11 +5382,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 8619cd841d7cf2b42a2afc8828859b2c222ca569..24fd771bb6cea06e4478a374fed6d4437d55a41d 100644 (file)
@@ -873,11 +873,6 @@ static gboolean endpoint_init_a2dp_source(struct media_endpoint *endpoint,
                                                gboolean delay_reporting,
                                                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,
                                        delay_reporting, &a2dp_endpoint,
@@ -896,11 +891,6 @@ static gboolean endpoint_init_a2dp_sink(struct media_endpoint *endpoint,
                                                gboolean delay_reporting,
                                                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,
                                        delay_reporting, &a2dp_endpoint,