lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 9 Nov 2022 13:34:05 +0100
From:   Ulf Hansson <ulf.hansson@...aro.org>
To:     Gabriel Somlo <gsomlo@...il.com>
Cc:     linux-kernel@...r.kernel.org, linux-mmc@...r.kernel.org,
        kgugala@...micro.com, mholenko@...micro.com, joel@....id.au,
        andy.shevchenko@...il.com, mdudek@...ernships.antmicro.com,
        paulus@...abs.org
Subject: Re: [PATCH] mmc: litex_mmc: ensure `host->irq == 0` if polling

On Mon, 7 Nov 2022 at 16:55, Gabriel Somlo <gsomlo@...il.com> wrote:
>
> 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@...il.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  drivers/mmc/host/litex_mmc.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/litex_mmc.c b/drivers/mmc/host/litex_mmc.c
> index 6ba0d63b8c07..39c6707fdfdb 100644
> --- a/drivers/mmc/host/litex_mmc.c
> +++ b/drivers/mmc/host/litex_mmc.c
> @@ -502,6 +502,7 @@ static int litex_mmc_irq_init(struct platform_device *pdev,
>
>  use_polling:
>         host->mmc->caps |= MMC_CAP_NEEDS_POLL;
> +       host->irq = 0;
>         return 0;
>  }
>
> --
> 2.37.3
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ