summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2024-02-12 16:45:51 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2024-02-13 10:19:52 +0100
commit1db4fae6e97cbd57f10e179daa2f65dd34566113 (patch)
tree94199fd1902d3fc82dd6a9599635f482968a5bb2 /fs
parentb6701ed76f221922fe54750cea6691cee6de9daa (diff)
downloadbarebox-1db4fae6e97cbd57f10e179daa2f65dd34566113.tar.gz
barebox-1db4fae6e97cbd57f10e179daa2f65dd34566113.tar.xz
mci: sdhci: atmel: fix truncation when reading out caps
The capability read out was changed a few years ago to use 32-bit accessors, but the variable that it was stored in remained at 16-bit leading to truncation of the upper bits and breaking detection of the SD-Card on my SAMA5D27-SOM1-EK: ERROR: barebox-environment chosen:environment-sd.of: probe failed: No such file or directory Fix this by using the appropriate type. The commit introducing the regression touched multiple drivers, but the Atmel SDHCI one is the only one which still used a 16-bit type. Fixes: 1570f8d8d87e ("mci: sdhci: straighten capabilities register") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20240212154551.2259925-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions