diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-12-22 22:43:08 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-01-02 19:38:29 +0300 |
commit | 36fffd6a1f19dcd935851fd6c724957727d2760e (patch) | |
tree | 06114cd4d6c2582b1b92af6cb1dfb401916048df /net/unix/af_unix.c | |
parent | ebb82e3c79d2a956366d0848304a53648bd6350b (diff) | |
download | linux-36fffd6a1f19dcd935851fd6c724957727d2760e.tar.xz |
ata: ahci_brcm: Avoid clobbering SATA_TOP_CTRL_BUS_CTRL
We are doing a blind write to SATA_TOP_CTRL_BUS_CTRL to set the system
endian, but in doing so, we are also overwriting other bits, such as the
SATA_SCB_BURST_SIZE and SATA_FIFO_SIZE bits, which impact performance.
Do a read/modify/write so we keep the default values.
While we are at it, we also greatly simplify the logic and just leave
the NSP specific bit settings, instead of having a completely different
sequence.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions