Changeset 44517


Ignore:
Timestamp:
2015-02-24T12:59:35+01:00 (3 years ago)
Author:
blogic
Message:

mpc85xx: add 3.19 support

It took very little to make the TL-WDR4900 work under 3.19:

  • config is the same as for 3.18
  • only patch 210 had to be refreshed, the other patches are the same as for 3.18
  • in /etc/config/wireless the path options need to be prefixed with "platform/" ('platform/ffe09000.pci/...')

Signed-off-by: Heiner Kallweit <hkallweit1@…>

Location:
trunk/target/linux/mpc85xx
Files:
1 added
10 copied

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/mpc85xx/patches-3.19/210-spi-fsl-espi-preallocate-local-buffer.patch

    r44515 r44517  
    3737 2 files changed, 17 insertions(+), 18 deletions(-) 
    3838 
     39diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c 
     40index d0a73a0..f461dde 100644 
    3941--- a/drivers/spi/spi-fsl-espi.c 
    4042+++ b/drivers/spi/spi-fsl-espi.c 
    41 @@ -329,17 +329,13 @@ static void fsl_espi_do_trans(struct spi 
     43@@ -329,17 +329,13 @@ static void fsl_espi_do_trans(struct spi_message *m, 
    4244 static void fsl_espi_cmd_trans(struct spi_message *m, 
    4345                                struct fsl_espi_transfer *trans, u8 *rx_buff) 
     
    6062                if (t->tx_buf) { 
    6163                        memcpy(local_buf + i, t->tx_buf, t->len); 
    62 @@ -352,28 +348,23 @@ static void fsl_espi_cmd_trans(struct sp 
     64@@ -352,28 +348,23 @@ static void fsl_espi_cmd_trans(struct spi_message *m, 
    6365        fsl_espi_do_trans(m, espi_trans); 
    6466  
     
    9294                trans_len = n_rx - pos; 
    9395                if (trans_len > SPCOM_TRANLEN_MAX - n_tx) 
    94 @@ -407,8 +398,6 @@ static void fsl_espi_rw_trans(struct spi 
     96@@ -407,8 +398,6 @@ static void fsl_espi_rw_trans(struct spi_message *m, 
    9597                else 
    9698                        espi_trans->actual_length += espi_trans->len; 
     
    100102 } 
    101103  
    102  static void fsl_espi_do_one_msg(struct spi_message *m) 
    103 @@ -585,6 +574,7 @@ static irqreturn_t fsl_espi_irq(s32 irq, 
     104 static int fsl_espi_do_one_msg(struct spi_master *master, 
     105@@ -586,6 +575,7 @@ static irqreturn_t fsl_espi_irq(s32 irq, void *context_data) 
    104106 static void fsl_espi_remove(struct mpc8xxx_spi *mspi) 
    105107 { 
     
    108110 } 
    109111  
    110  static struct spi_master * fsl_espi_probe(struct device *dev, 
    111 @@ -619,10 +609,16 @@ static struct spi_master * fsl_espi_prob 
    112         mpc8xxx_spi->spi_do_one_msg = fsl_espi_do_one_msg; 
     112 static int fsl_espi_suspend(struct spi_master *master) 
     113@@ -652,10 +642,16 @@ static struct spi_master * fsl_espi_probe(struct device *dev, 
     114        mpc8xxx_spi = spi_master_get_devdata(master); 
    113115        mpc8xxx_spi->spi_remove = fsl_espi_remove; 
    114116  
     
    127129  
    128130        reg_base = mpc8xxx_spi->reg_base; 
    129 @@ -689,6 +685,8 @@ unreg_master: 
     131@@ -722,6 +718,8 @@ unreg_master: 
    130132        free_irq(mpc8xxx_spi->irq, mpc8xxx_spi); 
    131133 free_irq: 
     
    136138        spi_master_put(master); 
    137139 err: 
     140diff --git a/drivers/spi/spi-fsl-lib.h b/drivers/spi/spi-fsl-lib.h 
     141index b4ed04e..3ffa984 100644 
    138142--- a/drivers/spi/spi-fsl-lib.h 
    139143+++ b/drivers/spi/spi-fsl-lib.h 
     
    146150  
    147151        int subblock; 
     152--  
     1532.3.0 
     154 
Note: See TracChangeset for help on using the changeset viewer.