Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0d4a14a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: Reduce debug logs"

parents 394d5d9c d13758f1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -4038,7 +4038,7 @@ void fm_feature_init(bool is_feature_enabled)
void audio_extn_fm_get_parameters(struct str_parms *query, struct str_parms *reply)
{
    if(audio_extn_fm_power_opt_enabled) {
       ALOGD("%s: Enter", __func__);
       ALOGV("%s: Enter", __func__);
       fm_get_parameters(query, reply);
    }
}
@@ -4047,7 +4047,7 @@ void audio_extn_fm_set_parameters(struct audio_device *adev,
                                  struct str_parms *parms)
{
    if(audio_extn_fm_power_opt_enabled) {
       ALOGD("%s: Enter", __func__);
       ALOGV("%s: Enter", __func__);
       fm_set_parameters(adev, parms);
    }
}
@@ -5626,7 +5626,7 @@ void audio_extn_enable_hifi_filter(struct audio_device *adev, bool value)
        return;
    } else {
        mixer_ctl_set_value(ctl, 0, value);
        ALOGD("%s: mixer_value set %d", __func__, value);
        ALOGV("%s: mixer_value set %d", __func__, value);
    }
    return;
}
+0 −1
Original line number Diff line number Diff line
@@ -503,7 +503,6 @@ int update_device_list(struct listnode *head, audio_devices_t type,
        goto done;

    if (type == AUDIO_DEVICE_NONE) {
        ALOGE("%s: Invalid device: %#x", __func__, type);
        ret = -EINVAL;
        goto done;
    }
+1 −1
Original line number Diff line number Diff line
@@ -545,7 +545,7 @@ void hfp_set_parameters(struct audio_device *adev, struct str_parms *parms)
    float vol;
    char value[32]={0};

    ALOGD("%s: enter", __func__);
    ALOGV("%s: enter", __func__);

    ret = str_parms_get_str(parms, AUDIO_PARAMETER_HFP_ENABLE, value,
                            sizeof(value));
+1 −3
Original line number Diff line number Diff line
@@ -600,10 +600,8 @@ void audio_extn_sound_trigger_update_stream_status(struct audio_usecase *uc_info
        uc_info->in_snd_device < SND_DEVICE_IN_END)) {
        if (is_same_as_st_device(uc_info->in_snd_device))
            update_device_list(&ev_info.device_info.devices, ST_DEVICE_HANDSET_MIC, "", true);
    } else {
        ALOGE("%s: invalid input device 0x%x, for event %d",
                    __func__, uc_info->in_snd_device, event);
    }

    raise_event = platform_sound_trigger_usecase_needs_event(uc_info->id);
    ALOGD("%s: uc_info->id %d of type %d for Event %d, with Raise=%d",
        __func__, uc_info->id, uc_info->type, event, raise_event);
+1 −3
Original line number Diff line number Diff line
@@ -2187,10 +2187,8 @@ int fbsp_get_parameters(struct str_parms *query,
    int err = 0;
    char value[MAX_STR_SIZE] = {0};

    if (!handle.spkr_prot_enable) {
        ALOGD("%s: Speaker protection disabled", __func__);
    if (!handle.spkr_prot_enable)
        return -EINVAL;
    }

    err = str_parms_get_str(query, AUDIO_PARAMETER_KEY_FBSP_GET_SPKR_CAL, value,
                                                          sizeof(value));
Loading