diff options
Diffstat (limited to 'drivers/spi/spi_s3c24xx.c')
-rw-r--r-- | drivers/spi/spi_s3c24xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_s3c24xx.c b/drivers/spi/spi_s3c24xx.c index 2ebe1fc4c398..8ca08713528e 100644 --- a/drivers/spi/spi_s3c24xx.c +++ b/drivers/spi/spi_s3c24xx.c | |||
@@ -174,7 +174,7 @@ static int s3c24xx_spi_setup(struct spi_device *spi) | |||
174 | 174 | ||
175 | static inline unsigned int hw_txbyte(struct s3c24xx_spi *hw, int count) | 175 | static inline unsigned int hw_txbyte(struct s3c24xx_spi *hw, int count) |
176 | { | 176 | { |
177 | return hw->tx ? hw->tx[count] : 0xff; | 177 | return hw->tx ? hw->tx[count] : 0; |
178 | } | 178 | } |
179 | 179 | ||
180 | static int s3c24xx_spi_txrx(struct spi_device *spi, struct spi_transfer *t) | 180 | static int s3c24xx_spi_txrx(struct spi_device *spi, struct spi_transfer *t) |