Changeset 23581


Ignore:
Timestamp:
2010-10-22T03:31:47+02:00 (7 years ago)
Author:
nbd
Message:

ar71xx: remove some unnecessary patches

Location:
trunk/target/linux/ar71xx/patches-2.6.36
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/patches-2.6.36/201-ap83_spi_controller.patch

    r23317 r23581  
    2626        tristate "Atheros AR71xx SPI Controller" 
    2727        depends on SPI_MASTER && ATHEROS_AR71XX 
    28 --- a/drivers/spi/ap83_spi.c 
    29 +++ b/drivers/spi/ap83_spi.c 
    30 @@ -132,28 +132,28 @@ static u32 ap83_spi_txrx_mode0(struct sp 
    31                                unsigned nsecs, u32 word, u8 bits) 
    32  { 
    33         dev_dbg(&spi->dev, "TXRX0 word=%08x, bits=%u\n", word, bits); 
    34 -       return bitbang_txrx_be_cpha0(spi, nsecs, 0, word, bits); 
    35 +       return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits); 
    36  } 
    37   
    38  static u32 ap83_spi_txrx_mode1(struct spi_device *spi, 
    39                                unsigned nsecs, u32 word, u8 bits) 
    40  { 
    41         dev_dbg(&spi->dev, "TXRX1 word=%08x, bits=%u\n", word, bits); 
    42 -       return bitbang_txrx_be_cpha1(spi, nsecs, 0, word, bits); 
    43 +       return bitbang_txrx_be_cpha1(spi, nsecs, 0, 0, word, bits); 
    44  } 
    45   
    46  static u32 ap83_spi_txrx_mode2(struct spi_device *spi, 
    47                                unsigned nsecs, u32 word, u8 bits) 
    48  { 
    49         dev_dbg(&spi->dev, "TXRX2 word=%08x, bits=%u\n", word, bits); 
    50 -       return bitbang_txrx_be_cpha0(spi, nsecs, 1, word, bits); 
    51 +       return bitbang_txrx_be_cpha0(spi, nsecs, 1, 0, word, bits); 
    52  } 
    53   
    54  static u32 ap83_spi_txrx_mode3(struct spi_device *spi, 
    55                                unsigned nsecs, u32 word, u8 bits) 
    56  { 
    57         dev_dbg(&spi->dev, "TXRX3 word=%08x, bits=%u\n", word, bits); 
    58 -       return bitbang_txrx_be_cpha1(spi, nsecs, 1, word, bits); 
    59 +       return bitbang_txrx_be_cpha1(spi, nsecs, 1, 0, word, bits); 
    60  } 
    61   
    62  static int ap83_spi_probe(struct platform_device *pdev) 
Note: See TracChangeset for help on using the changeset viewer.