Thread (62 messages) 62 messages, 3 authors, 2017-09-05

Re: [PATCH 20/30] brcmfmac: Remove repeated calls to brcmf_chip_get_core()

From: Arend van Spriel <arend.vanspriel@broadcom.com>
Date: 2017-08-30 19:42:38

On 22-08-17 13:25, Ian Molton wrote:
There is no need to repeatdly call brcmf_chip_get_core(), which
traverses a list of cores every time its called (including during
register access code!).

Call it once, and store a pointer to the core structure. The existing
code does nto keep track of users of the cores anyway, and even so, this
will allow for easier refcounting in future.
Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Ian Molton <redacted>
---
  .../wireless/broadcom/brcm80211/brcmfmac/sdio.c    | 25 +++++++++++++---------
  1 file changed, 15 insertions(+), 10 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help