commit | 5fe4f0fc792f0e31500ffc96eb201548f51d5474 | [log] [tgz] |
---|---|---|
author | Bjoern Johansson <bjoernj@google.com> | Mon May 16 17:51:58 2022 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 16 17:51:58 2022 +0000 |
tree | 6463ecd29a1b852ce73e1514bb2834cba3f55a0d | |
parent | f5a4add8a8a5625a069f2b00b7640801dd8badb0 [diff] |
[brcmfmac] Fix caching of SDIO block size The block size for SDIO is cached for performance reasons since it's accessed for every transfer that needs to be aligned to block size. Unfortunately caching happened before the block size was actually set. This lead to the cached value having the factory default block size. In the past we used the factory default value so it was not a problem. As part of the network device work the block size was reduced and the mismatch between cached value and actual block size became apparent. Fortunately this hasn't led to any issues since the actual block size was lower, all that happened was that we aligned to a stricter value than necessary. Bug: 100319 Test: manual testing, fx test brcmfmac_test brcmfmac_sdio_test Change-Id: Ibb0f694050eeff8693747158ea318241ab05ad60 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/679450 Reviewed-by: Sakthi Vignesh Radhakrishnan <rsakthi@google.com> Commit-Queue: Bjoern Johansson <bjoernj@google.com> Reviewed-by: Karthik Krishnaswami <karthikrish@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.