Changeset 21164


Ignore:
Timestamp:
2010-04-26T15:33:48+02:00 (8 years ago)
Author:
florian
Message:

[brcm63xx] fix spi chip select configuration

Location:
trunk/target/linux/brcm63xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/patches-2.6.32/240-spi.patch

    r21163 r21164  
    506506+               val |= SPI_CMD_NOOP; 
    507507+       else if (is_on == BITBANG_CS_ACTIVE) 
    508 +               val |= (1 << spi->chip_select << SPI_CMD_DEVICE_ID_SHIFT); 
     508+               val |= (spi->chip_select << SPI_CMD_DEVICE_ID_SHIFT); 
    509509+ 
    510510+       bcm_spi_writew(val, bs->regs, SPI_CMD); 
  • trunk/target/linux/brcm63xx/patches-2.6.33/240-spi.patch

    r21163 r21164  
    506506+               val |= SPI_CMD_NOOP; 
    507507+       else if (is_on == BITBANG_CS_ACTIVE) 
    508 +               val |= (1 << spi->chip_select << SPI_CMD_DEVICE_ID_SHIFT); 
     508+               val |= (spi->chip_select << SPI_CMD_DEVICE_ID_SHIFT); 
    509509+ 
    510510+       bcm_spi_writew(val, bs->regs, SPI_CMD); 
Note: See TracChangeset for help on using the changeset viewer.