[Bug 196081] [PATCH] ARM: sunxi: Add driver for the MMC/SD host found in the Allwinner A10 SoC

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 29 04:49:54 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196081

Pratik Singhal <ps06756 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ps06756 at gmail.com
 Attachment #154947|                            |maintainer-approval?
              Flags|                            |

--- Comment #6 from Pratik Singhal <ps06756 at gmail.com> ---
Created attachment 154947
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154947&action=edit
Possible bug fix in the MMC/SD driver.

In the a10_mmc_reset_controller function, the purpose of the do while loop is
to wait till the register reset is done or time out has occurred. 

In the current code, the do while loop will continue to loop if the reset is
done but timeout is not done. Also, it will exit if the reset is not done
instead of waiting for the time out to occur. The patch corrects this. 

In the a10_mmc_attach function, the maximum value of operable frequency is
termed as 50Hz, but it is coded as 52MHz which I have changed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-arm mailing list