Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=111cf97d2cf35fbaa5eaff6ec5d395a06e14aadf
Commit:     111cf97d2cf35fbaa5eaff6ec5d395a06e14aadf
Parent:     0355893e77b6c4d24a5843d420e97ae86762f964
Author:     Sonic Zhang <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 30 11:48:42 2007 +0800
Committer:  Bryan Wu <[EMAIL PROTECTED]>
CommitDate: Tue Oct 30 11:48:42 2007 +0800

    Blackfin arch: Fix bug set correct baud for spi mmc and enable SPI after 
DMA.
    
    Changes:
    
    1. The baud for spi mmc defined in board file is not used by the old
    spi driver. A slower value from spi framework is used instead. In latest
    bug fixing, the correct baud is use which is too high for spi MMC card.
    
    2. SPI is enabled only after DMA is started.
    
    3. MMC detection IRQ is set to 55.
    
    Signed-off-by: Sonic Zhang <[EMAIL PROTECTED]>
    Signed-off-by: Bryan Wu <[EMAIL PROTECTED]>
---
 arch/blackfin/mach-bf533/boards/stamp.c |    4 ++--
 arch/blackfin/mach-bf537/boards/stamp.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/blackfin/mach-bf533/boards/stamp.c 
b/arch/blackfin/mach-bf533/boards/stamp.c
index f84be4e..62ffa50 100644
--- a/arch/blackfin/mach-bf533/boards/stamp.c
+++ b/arch/blackfin/mach-bf533/boards/stamp.c
@@ -218,7 +218,7 @@ static struct spi_board_info bfin_spi_board_info[] 
__initdata = {
 #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE)
        {
                .modalias = "spi_mmc_dummy",
-               .max_speed_hz = 25000000,     /* max spi clock (SCK) speed in 
HZ */
+               .max_speed_hz = 20000000,     /* max spi clock (SCK) speed in 
HZ */
                .bus_num = 0,
                .chip_select = 0,
                .platform_data = NULL,
@@ -227,7 +227,7 @@ static struct spi_board_info bfin_spi_board_info[] 
__initdata = {
        },
        {
                .modalias = "spi_mmc",
-               .max_speed_hz = 25000000,     /* max spi clock (SCK) speed in 
HZ */
+               .max_speed_hz = 20000000,     /* max spi clock (SCK) speed in 
HZ */
                .bus_num = 0,
                .chip_select = CONFIG_SPI_MMC_CS_CHAN,
                .platform_data = NULL,
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c 
b/arch/blackfin/mach-bf537/boards/stamp.c
index cc41f6c..c18d85e 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -450,7 +450,7 @@ static struct spi_board_info bfin_spi_board_info[] 
__initdata = {
 #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE)
        {
                .modalias = "spi_mmc_dummy",
-               .max_speed_hz = 25000000,     /* max spi clock (SCK) speed in 
HZ */
+               .max_speed_hz = 20000000,     /* max spi clock (SCK) speed in 
HZ */
                .bus_num = 0,
                .chip_select = 0,
                .platform_data = NULL,
@@ -459,7 +459,7 @@ static struct spi_board_info bfin_spi_board_info[] 
__initdata = {
        },
        {
                .modalias = "spi_mmc",
-               .max_speed_hz = 25000000,     /* max spi clock (SCK) speed in 
HZ */
+               .max_speed_hz = 20000000,     /* max spi clock (SCK) speed in 
HZ */
                .bus_num = 0,
                .chip_select = CONFIG_SPI_MMC_CS_CHAN,
                .platform_data = NULL,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to