FreeBSD Bugzilla – Attachment 154947 Details for
Bug 196081
[PATCH] ARM: sunxi: Add driver for the MMC/SD host found in the Allwinner A10 SoC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible bug fix in the MMC/SD driver.
patch (text/plain), 802 bytes, created by
Pratik Singhal
on 2015-03-29 04:49:54 UTC
(
hide
)
Description:
Possible bug fix in the MMC/SD driver.
Filename:
MIME Type:
Creator:
Pratik Singhal
Created:
2015-03-29 04:49:54 UTC
Size:
802 bytes
patch
obsolete
>--- a10_mmc.c 2015-03-29 10:10:53.575339309 +0530 >+++ new.c 2015-03-29 10:09:52.982003677 +0530 >@@ -233,7 +233,7 @@ > > /* Set minimum and maximum operating frequencies (400kHz-50MHz). */ > sc->mmc_host.f_min = 400000; >- sc->mmc_host.f_max = 52000000; >+ sc->mmc_host.f_max = 50000000; > > /* Set operation conditions (voltage). */ > sc->mmc_host.host_ocr = MMC_OCR_320_330 | MMC_OCR_330_340; >@@ -305,7 +305,7 @@ > /* Wait until the reset is done or a timeout occurs. */ > do { > reg_value = a10_mmc_read_4(sc, A10_MMC_GLOBAL_CONTROL_REG); >- } while ((reg_value & A10_MMC_HARDWARE_RESET_BITS) && (--time_left)); >+ } while ((!reg_value & A10_MMC_HARDWARE_RESET_BITS) && (--time_left)); > > if (!time_left) { > device_printf(sc->device, "Reset timeout!\n");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 196081
:
150704
|
151035
|
154947
|
157917