diff --git a/hif/src/ce/ce_service.c b/hif/src/ce/ce_service.c index a538f3d215b0..d63d3426c168 100644 --- a/hif/src/ce/ce_service.c +++ b/hif/src/ce/ce_service.c @@ -1977,7 +1977,7 @@ more_data: CE_ENGINE_INT_STATUS_CLEAR(scn, ctrl_addr, HOST_IS_COPY_COMPLETE_MASK); } else { - HIF_ERROR("%s: target access is not allowed", __func__); + hif_err_rl("%s: target access is not allowed", __func__); return; } @@ -2181,7 +2181,8 @@ more_watermarks: CE_WATERMARK_MASK | HOST_IS_COPY_COMPLETE_MASK); } else { - HIF_ERROR("%s: target access is not allowed", __func__); + hif_err_rl("%s: target access is not allowed", + __func__); goto unlock_end; } } @@ -2309,7 +2310,7 @@ ce_per_engine_handler_adjust_legacy(struct CE_state *CE_state, return; if (!TARGET_REGISTER_ACCESS_ALLOWED(scn)) { - HIF_ERROR("%s: target access is not allowed", __func__); + hif_err_rl("%s: target access is not allowed", __func__); return; } diff --git a/hif/src/snoc/hif_io32_snoc.h b/hif/src/snoc/hif_io32_snoc.h index f22ac6b2d87a..ea0dd29ea7a0 100644 --- a/hif/src/snoc/hif_io32_snoc.h +++ b/hif/src/snoc/hif_io32_snoc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2015-2018 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -48,7 +48,7 @@ static inline void ce_enable_irq_in_individual_register(struct hif_softc *scn, offset = HOST_IE_ADDRESS + CE_BASE_ADDRESS(ce_id); if (!TARGET_REGISTER_ACCESS_ALLOWED(scn)) { - HIF_ERROR("%s: target access is not allowed", __func__); + hif_err_rl("%s: target access is not allowed", __func__); return; } hif_write32_mb(scn->mem + offset, 1); @@ -61,13 +61,13 @@ static inline void ce_disable_irq_in_individual_register(struct hif_softc *scn, offset = HOST_IE_ADDRESS + CE_BASE_ADDRESS(ce_id); if (!TARGET_REGISTER_ACCESS_ALLOWED(scn)) { - HIF_ERROR("%s: target access is not allowed", __func__); + hif_err_rl("%s: target access is not allowed", __func__); return; } hif_write32_mb(scn->mem + offset, 0); if (!TARGET_REGISTER_ACCESS_ALLOWED(scn)) { - HIF_ERROR("%s: target access is not allowed", __func__); + hif_err_rl("%s: target access is not allowed", __func__); return; } hif_read32_mb(scn->mem + offset);