Re: [PATCH] mci: bcm2835: Set mci host for sdhci

2024-05-24 Thread Sascha Hauer
On Wed, 22 May 2024 08:15:27 +0200, Jonas Richardsen wrote: > 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 `bcm28

Re: [PATCH] mci: bcm2835: Set mci host for sdhci

2024-05-22 Thread Ahmad Fatoum
On 22.05.24 08:15, Jonas Richardsen wrote: > 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` funct

[PATCH] mci: bcm2835: Set mci host for sdhci

2024-05-21 Thread Jonas Richardsen
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 `aras