mmc: litex_mmc: ensure `host->irq == 0` if polling
authorGabriel Somlo <gsomlo@gmail.com>
Mon, 7 Nov 2022 15:55:16 +0000 (10:55 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 7 Dec 2022 12:22:35 +0000 (13:22 +0100)
commit5c1a2b77cd1b59112cf22b3e338f7e416797ad32
tree48122cc8e94c3102be3b5f46a512ad426c3193d0
parent29276d56f6ed138db0f38cd31aedc0b725c8c76c
mmc: litex_mmc: ensure `host->irq == 0` if polling

Ensure the flag is explicitly set to 0 if we determine that polling is
needed during driver probe, to cover all possible cases.

Fixes: 92e099104729 ("mmc: Add driver for LiteX's LiteSDCard interface")
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Link: https://lore.kernel.org/r/20221107155516.2535912-1-gsomlo@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/litex_mmc.c