[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <08df140f-0630-f7ce-3e1a-9837f24e1796@linaro.org>
Date: Mon, 17 Jul 2017 17:50:26 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: Adrian Hunter <adrian.hunter@...el.com>,
Ulf Hansson <ulf.hansson@...aro.org>
Cc: "linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-msm@...r.kernel.org" <linux-arm-msm@...r.kernel.org>
Subject: Re: [RFC PATCH 1/2] mmc: sdhci: add quirk
SDHCI_QUIRK2_BROKEN_SDMA_BOUNDARY_BUFFER
On 17/07/17 13:47, Adrian Hunter wrote:
>> This change seems like a reasonable justification for adding a new
>> SDHCI quirk, even if we in general wants to avoid that.
>>
>> Adrian?
> If we add a quirk for every register we end up with a very ugly version of
> CONFIG_MMC_SDHCI_IO_ACCESSORS. So CONFIG_MMC_SDHCI_IO_ACCESSORS is a better
> option. Another possibility is to add a member to struct sdhci_host,
> initialized to SDHCI_DEFAULT_BOUNDARY_ARG, and write that. Drivers could
> then change the value if necessary.
Second option seems to be better one. I will give it a try and see!
thanks,
srini
Powered by blists - more mailing lists