Search Linux Wireless

Re: [PATCH 17/30] brcmfamc: remove unnecessary call to brcmf_sdiod_set_backplane_window()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22-08-17 14:50, Julian Calaby wrote:
Hi Ian,

On Tue, Aug 22, 2017 at 9:25 PM, Ian Molton <ian@xxxxxxxxxxxxxx> wrote:
All functions that might require the window address changing call
brcmf_sdiod_set_backplane_window() prior to access. Thus resetting
the window is not required.

Wouldn't it be more safe to write these sorts of functions so that
they set the window themselves instead of relying on the caller?

The function brcmf_sdiod_set_backplane_window() is a helper function by which these sorts of functions set the window themselves. It would be duplicating too much code as setting the window involves three register accesses (or so) on the device.

Regards,
Arend



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux