aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2019-08-27 10:10:43 +0200
committerUlf Hansson <[email protected]>2019-08-30 09:17:53 +0200
commit72741084d903e65e121c27bd29494d941729d4a1 (patch)
treec6f0bb714dfe40a0237f9aee1653c55811d4f3e2 /tools/perf/scripts/python/exported-sql-viewer.py
parent7871aa60ae0086fe4626abdf5ed13eeddf306c61 (diff)
mmc: core: Fix init of SD cards reporting an invalid VDD range
The OCR register defines the supported range of VDD voltages for SD cards. However, it has turned out that some SD cards reports an invalid voltage range, for example having bit7 set. When a host supports MMC_CAP2_FULL_PWR_CYCLE and some of the voltages from the invalid VDD range, this triggers the core to run a power cycle of the card to try to initialize it at the lowest common supported voltage. Obviously this fails, since the card can't support it. Let's fix this problem, by clearing invalid bits from the read OCR register for SD cards, before proceeding with the VDD voltage negotiation. Cc: [email protected] Reported-by: Philip Langdale <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Reviewed-by: Philip Langdale <[email protected]> Tested-by: Philip Langdale <[email protected]> Tested-by: Manuel Presnitz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions