mmc: Fix max current limit handling for SD cards
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mmc: core sd: Simplify current limit logic for 200mA defaultdrivers/ include/ | +2 | 4 replies | |
| 2/2 | mmc: core: sd: Fix and simplify SD card current limit handlingdrivers/ include/ | +13 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] mmc: Fix max current limit handling for SD cards
This series addresses a long-standing issue in the mmc driver regarding the setting of the maximum current limit for SD cards.
The current implementation, which dates back nearly a decade, misunderstood the intention of the SD specification. To be fair, the relevant section of the spec is notoriously confusing and difficult to interpret. As a result, the old code almost always limited cards to the default low power setting of 0.72W, regardless of the card’s actual capabilities.
With this change, we will now correctly set the maximum current limit, allowing SD cards to receive enough power to operate at their true potential and unleash their maximum performance.
Avri Altman (2):
mmc: core sd: Simplify current limit logic for 200mA default
mmc: core: sd: Fix and simplify SD card current limit handling
drivers/mmc/core/sd.c | 43 ++++++++++++++-------------------------- include/linux/mmc/card.h | 7 ------- 2 files changed, 15 insertions(+), 35 deletions(-)
Signature · 1 line
2.25.1