[PATCH v2] drivers:mtd:spi-nor:checkup FSR error bits
Cyrille Pitchen
cyrille.pitchen at wedev4u.fr
Tue Dec 5 12:20:11 PST 2017
Le 04/12/2017 à 14:27, Bean Huo (beanhuo) a écrit :
> Hi, Cyrille
>
>> Hi Bean,
>>
>> Le 04/12/2017 à 13:34, Bean Huo (beanhuo) a écrit :
>>> For Micron spi nor device, when erase/program operation fails,
>>> especially the failure results from intending to modify protected
>>> space, spi-nor upper layers still get the return which shows the
>>> operation succeeds. This is because current spi_nor_fsr_ready() only
>>> uses FSR bit.7 (flag status register) to check device whether ready.
>>> This patch fixs this issue by checking relevant error
>>
>> s/fixs/fixes/
>>
>>> bits in FSR.
>>> The FSR is a powerful tool to investigate the staus of
>>
>> s/staus/status/
>>
>>> device, checking information regarding what is actually doing the
>>> memory and detecting possible error conditions.
>>>
>>> Signed-off-by: beanhuo <beanhuo at micron.com>
Applied to the spi-nor/next branch of l2-mtd after correcting few typos
in the commit message and the subject line.
>>
>> Otherwise,
>> Acked-by: Cyrille Pitchen <cyrille.pitchen at wedev4u.fr>
>>
>> No need to resend, I'll fix these tiny issues myself :)
>>
>
> Thanks!
>
> // Bean Huo
>
More information about the linux-mtd
mailing list