diff options
author | Jonas Richardsen <jonasrichardsen@emlix.com> | 2024-05-22 08:15:27 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2024-05-24 13:43:50 +0200 |
commit | 5d74c69b327964245d379f8015dc3c66014af633 (patch) | |
tree | eb98065e629613d97951bb26cc8a8d7c4de3120e /include/mach/socfpga/arria10-pinmux.h | |
parent | 532da9c40cdcb23e2372ebac35a91bed8fd09c30 (diff) | |
download | barebox-master.tar.gz barebox-master.tar.xz |
The pointer `sdhci.mci` is currently not being set for the bcm2835. This
leads to a null pointer dereference for example in `sdhci_wait_idle()`
if the `sdhci_read` function fails or times out.
Set the pointer within the `bcm2835_mci_probe` function. This is
analogous to the behaviour seen in `arasan_sdhci_probe`,
`fsl_esdhc_probe`, `rk_sdhci_probe` and other, similar functions.
Signed-off-by: Jonas Richardsen <jonasrichardsen@emlix.com>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20240522061819.6150-1-jonasrichardsen@emlix.com
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/mach/socfpga/arria10-pinmux.h')
0 files changed, 0 insertions, 0 deletions