diff options
Diffstat (limited to 'drivers/spi/spidev.c')
-rw-r--r-- | drivers/spi/spidev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 20d7322e2f71..9c446e6003d5 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c | |||
@@ -266,15 +266,15 @@ static int spidev_message(struct spidev_data *spidev, | |||
266 | k_tmp->delay_usecs = u_tmp->delay_usecs; | 266 | k_tmp->delay_usecs = u_tmp->delay_usecs; |
267 | k_tmp->speed_hz = u_tmp->speed_hz; | 267 | k_tmp->speed_hz = u_tmp->speed_hz; |
268 | #ifdef VERBOSE | 268 | #ifdef VERBOSE |
269 | dev_dbg(&spi->dev, | 269 | dev_dbg(&spidev->spi->dev, |
270 | " xfer len %zd %s%s%s%dbits %u usec %uHz\n", | 270 | " xfer len %zd %s%s%s%dbits %u usec %uHz\n", |
271 | u_tmp->len, | 271 | u_tmp->len, |
272 | u_tmp->rx_buf ? "rx " : "", | 272 | u_tmp->rx_buf ? "rx " : "", |
273 | u_tmp->tx_buf ? "tx " : "", | 273 | u_tmp->tx_buf ? "tx " : "", |
274 | u_tmp->cs_change ? "cs " : "", | 274 | u_tmp->cs_change ? "cs " : "", |
275 | u_tmp->bits_per_word ? : spi->bits_per_word, | 275 | u_tmp->bits_per_word ? : spidev->spi->bits_per_word, |
276 | u_tmp->delay_usecs, | 276 | u_tmp->delay_usecs, |
277 | u_tmp->speed_hz ? : spi->max_speed_hz); | 277 | u_tmp->speed_hz ? : spidev->spi->max_speed_hz); |
278 | #endif | 278 | #endif |
279 | spi_message_add_tail(k_tmp, &msg); | 279 | spi_message_add_tail(k_tmp, &msg); |
280 | } | 280 | } |