Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a2b0d73 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: drop cs_change_per_word setting



Structs get initialized to 0 already, and we want to punt this field, so
scrub it from all of our boards.

Reported-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 7036c61f
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -123,7 +123,6 @@ static struct bfin5xx_spi_chip mmc_spi_chip_info = {
	.ctl_reg = 0x1000,		/* CPOL=0,CPHA=0,Sandisk 1G work */
	.ctl_reg = 0x1000,		/* CPOL=0,CPHA=0,Sandisk 1G work */
	.enable_dma = 0,		/* if 1 - block!!! */
	.enable_dma = 0,		/* if 1 - block!!! */
	.bits_per_word = 8,
	.bits_per_word = 8,
	.cs_change_per_word = 0,
};
};
#endif
#endif


+0 −1
Original line number Original line Diff line number Diff line
@@ -280,7 +280,6 @@ static struct bfin5xx_spi_chip mmc_spi_chip_info = {


#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
	.cs_change_per_word = 0,
	.enable_dma = 0,
	.enable_dma = 0,
	.bits_per_word = 16,
	.bits_per_word = 16,
};
};
+0 −1
Original line number Original line Diff line number Diff line
@@ -215,7 +215,6 @@ static struct flash_platform_data bfin_spi_flash_data = {
static struct bfin5xx_spi_chip spi_flash_chip_info = {
static struct bfin5xx_spi_chip spi_flash_chip_info = {
	.enable_dma = 0,         /* use dma transfer with this chip*/
	.enable_dma = 0,         /* use dma transfer with this chip*/
	.bits_per_word = 8,
	.bits_per_word = 8,
	.cs_change_per_word = 0,
};
};
#endif
#endif


+0 −2
Original line number Original line Diff line number Diff line
@@ -525,13 +525,11 @@ static struct flash_platform_data bfin_spi_flash_data = {
static struct bfin5xx_spi_chip spi_flash_chip_info = {
static struct bfin5xx_spi_chip spi_flash_chip_info = {
	.enable_dma = 0,         /* use dma transfer with this chip*/
	.enable_dma = 0,         /* use dma transfer with this chip*/
	.bits_per_word = 8,
	.bits_per_word = 8,
	.cs_change_per_word = 0,
};
};
#endif
#endif


#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
	.cs_change_per_word = 0,
	.enable_dma = 0,
	.enable_dma = 0,
	.bits_per_word = 16,
	.bits_per_word = 16,
};
};
+0 −3
Original line number Original line Diff line number Diff line
@@ -614,7 +614,6 @@ static struct flash_platform_data bfin_spi_flash_data = {
static struct bfin5xx_spi_chip spi_flash_chip_info = {
static struct bfin5xx_spi_chip spi_flash_chip_info = {
	.enable_dma = 0,         /* use dma transfer with this chip*/
	.enable_dma = 0,         /* use dma transfer with this chip*/
	.bits_per_word = 8,
	.bits_per_word = 8,
	.cs_change_per_word = 0,
};
};
#endif
#endif


@@ -628,7 +627,6 @@ static struct bfin5xx_spi_chip ad1836_spi_chip_info = {


#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
	.cs_change_per_word = 0,
	.enable_dma = 0,
	.enable_dma = 0,
	.bits_per_word = 16,
	.bits_per_word = 16,
};
};
@@ -659,7 +657,6 @@ static struct bfin5xx_spi_chip spidev_chip_info = {
static struct bfin5xx_spi_chip spi_adxl34x_chip_info = {
static struct bfin5xx_spi_chip spi_adxl34x_chip_info = {
	.enable_dma = 0,         /* use dma transfer with this chip*/
	.enable_dma = 0,         /* use dma transfer with this chip*/
	.bits_per_word = 8,
	.bits_per_word = 8,
	.cs_change_per_word = 0,
};
};
#endif
#endif