Ticket #7762: 210-spi_bitbang_txrx.patch

File 210-spi_bitbang_txrx.patch, 660 bytes (added by acoul, 6 years ago)
  • drivers/spi/ap83_spi.c

    a b static void ap83_spi_chipselect(struct s 
    125125                do_spidelay(spi, nsecs);                                \ 
    126126        } while (0) 
    127127 
    128 #define EXPAND_BITBANG_TXRX 
    129128#include <linux/spi/spi_bitbang.h> 
     129#include "spi_bitbang_txrx.h" 
    130130 
    131131static u32 ap83_spi_txrx_mode0(struct spi_device *spi, 
    132132                               unsigned nsecs, u32 word, u8 bits) 
  • drivers/spi/spi_gpio_old.c

    a b static inline void do_spidelay(struct sp 
    7474        do_spidelay(spi, nsecs);                                \ 
    7575  } while (0) 
    7676 
    77 #define EXPAND_BITBANG_TXRX 
    7877#include "spi_bitbang_txrx.h" 
    7978 
    8079static u32 spi_gpio_txrx_mode0(struct spi_device *spi,