From 0927a44520ac7ce4fa33dc923d92de98fb71b636 Mon Sep 17 00:00:00 2001 From: Venkateswara Swamy Bandaru Date: Tue, 8 May 2018 16:17:21 +0530 Subject: [PATCH] qcacmn: Fix return value of hif_exec_event Fix return value of hif_exec_event when HIF_IRQ_AFFINITY is not defined. return success in this case. Change-Id: Icf9d7d15b67aea987fba7be24f6037d67f7d6adf CRs-Fixed: 2238090 --- hif/src/hif_irq_affinity.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hif/src/hif_irq_affinity.h b/hif/src/hif_irq_affinity.h index 6a2235c008f7..74b0470658b3 100644 --- a/hif/src/hif_irq_affinity.h +++ b/hif/src/hif_irq_affinity.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. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -58,7 +58,7 @@ static inline int hif_exec_event(struct hif_opaque_softc *hif, enum qca_napi_event event, void *data) { - return -EPERM; + return 0; } #endif #endif