[<prev] [next>] [day] [month] [year] [list]
Message-ID: <DM6PR04MB65758767822B761D9B0A5A2BFC7A9@DM6PR04MB6575.namprd04.prod.outlook.com>
Date: Fri, 2 Apr 2021 07:59:03 +0000
From: Avri Altman <Avri.Altman@....com>
To: "adrian.hunter@...el.com" <adrian.hunter@...el.com>
CC: Avri Altman <Avri.Altman@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
"ulf.hansson@...aro.org" <ulf.hansson@...aro.org>
Subject: Re: [PATCH 2/2] mmc: block: Update ext_csd.cache_ctrl if it was
written
>> @@ -571,6 +571,14 @@ static int __mmc_blk_ioctl_cmd(struct mmc_card *card, struct mmc_blk_data *md,
>> main_md->part_curr = value & EXT_CSD_PART_CONFIG_ACC_MASK;
>> }
>>
>> + /* Make sure to update CACHE_CTRL in case it was changed */
> It might be worth noting that the cache will get turned back
> on if the card is re-initialized, for example suspend/resume or
> hw reset in recovery.
Done.
Thanks,
Avri
Powered by blists - more mailing lists