[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaGDONmRNASF1UEnKHDrcNYtdHWJFMmqzP998mhc0WfAQ@mail.gmail.com>
Date: Fri, 9 Jun 2023 10:58:44 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: Dennis Zhou <dennis@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] mmc: inline the first mmc_scan() on mmc_start_host()
On Fri, Jun 9, 2023 at 10:53 AM Greg KH <gregkh@...uxfoundation.org> wrote:
> On Fri, Jun 09, 2023 at 12:16:19AM -0700, Dennis Zhou wrote:
> > As a path forward I can add a command line flag as a bool to handle this
> > and that should hopefully take care of the regresion aspect to this.
>
> command line flags are horrible and should never be used. Why can't you
> dynamically detect this type of thing and handle it that way?
If nothing else works, if this is device tree, a machine-specific quirk can be
done:
if (of_machine_is_compatible("vendor,machine")) {...}
Yours,
Linus Walleij
Powered by blists - more mailing lists