qcacmn: Fix kernel module check patch warnings in HIF SNOC files
Fix kernel module check patch warnings in HIF SNOC files Change-Id: I20f14f711ca00dfd9d59ee5edd0b3e2e32c90a11 CRs-fixed: 2033001
此提交包含在:
@@ -45,6 +45,7 @@ static inline void ce_enable_irq_in_individual_register(struct hif_softc *scn,
|
||||
int ce_id)
|
||||
{
|
||||
uint32_t offset;
|
||||
|
||||
offset = HOST_IE_ADDRESS + CE_BASE_ADDRESS(ce_id);
|
||||
hif_write32_mb(scn->mem + offset, 1);
|
||||
}
|
||||
@@ -53,6 +54,7 @@ static inline void ce_disable_irq_in_individual_register(struct hif_softc *scn,
|
||||
int ce_id)
|
||||
{
|
||||
uint32_t offset;
|
||||
|
||||
offset = HOST_IE_ADDRESS + CE_BASE_ADDRESS(ce_id);
|
||||
hif_write32_mb(scn->mem + offset, 0);
|
||||
hif_read32_mb(scn->mem + offset);
|
||||
|
@@ -396,10 +396,9 @@ int hif_target_sync_ahb(struct hif_softc *scn)
|
||||
if (wait_limit < 0) {
|
||||
HIF_TRACE("%s: FW signal timed out", __func__);
|
||||
return -EIO;
|
||||
} else {
|
||||
HIF_TRACE("%s: Got FW signal, retries = %x", __func__,
|
||||
500-wait_limit);
|
||||
}
|
||||
HIF_TRACE("%s: Got FW signal, retries = %x", __func__,
|
||||
500-wait_limit);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2016 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2017 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
|
||||
@@ -155,7 +155,8 @@ int hif_ahb_enable_radio(struct hif_pci_softc *sc,
|
||||
}
|
||||
|
||||
/* TBD: Temporary changes. Frequency should be
|
||||
retrieved through clk_xxx once kernel GCC driver is available */
|
||||
* retrieved through clk_xxx once kernel GCC driver is available
|
||||
*/
|
||||
{
|
||||
void __iomem *mem_gcc;
|
||||
uint32_t clk_sel;
|
||||
@@ -318,7 +319,8 @@ void hif_ahb_device_reset(struct hif_softc *scn)
|
||||
reset_control_assert(core_resetctl);
|
||||
|
||||
/* TBD: Check if we should also assert other bits (radio_cold, radio_
|
||||
warm, radio_srif, cpu_ini) */
|
||||
* warm, radio_srif, cpu_ini)
|
||||
*/
|
||||
qdf_mdelay(1); /* TBD: Get reqd delay from HW team */
|
||||
|
||||
/* Assert radio cold reset */
|
||||
|
@@ -65,10 +65,10 @@ void hif_snoc_disable_isr(struct hif_softc *scn)
|
||||
|
||||
/**
|
||||
* hif_dump_registers(): dump bus debug registers
|
||||
* @scn: struct hif_opaque_softc
|
||||
* @hif_ctx: struct hif_opaque_softc
|
||||
*
|
||||
* This function dumps hif bus debug registers
|
||||
*
|
||||
*
|
||||
* Return: 0 for success or error code
|
||||
*/
|
||||
int hif_snoc_dump_registers(struct hif_softc *hif_ctx)
|
||||
|
新增問題並參考
封鎖使用者