davids5 opened a new pull request #1604:
URL: https://github.com/apache/incubator-nuttx/pull/1604


   ## Summary
   
      When CONFIG_MMCSD_MULTIBLOCK_DISABLE is lit, all SD
      read/write failed. The function return the number of
      blocks in `ret`, set on entry to nsectors. That was
      then wiped out by using the ret for the mmcsd_takesem.
   
      Since the code had many path setting return, the choices for
      the fix could have been add a new varaible or simple init it
      were used. I choose the latter.
   
   ## Impact
   
   Since 2020-03-31 SD cards not using multi block (i.e with 
CONFIG_MMCSD_MULTIBLOCK_DISABLE) are broken.
    
   ## Testing
   
   was done on nxp_fmuk66-v3
   
   Before PR
   
![image](https://user-images.githubusercontent.com/1945821/90558856-995f9480-e151-11ea-9ef6-69286b901198.png)
   
   
![image](https://user-images.githubusercontent.com/1945821/90558548-19d1c580-e151-11ea-99cf-a578065548c5.png)
   
   
   After PR:
   mount is fine
   
![image](https://user-images.githubusercontent.com/1945821/90558699-58678000-e151-11ea-88e6-31e4b369f402.png)
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to