Skip to content

Commit

Permalink
spi: atmel: Drop unused defines
Browse files Browse the repository at this point in the history
These defines are leftovers from previous versions of the blamed commit,
they are simply unused so drop them.

Fixes: e0205d6 ("spi: atmel: Prevent false timeouts on long transfers")
Reported-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20231127095842.389631-2-miquel.raynal@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Miquel Raynal authored and Mark Brown committed Dec 1, 2023
1 parent 1ca2761 commit 49d8575
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/spi/spi-atmel.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,6 @@
*/
#define DMA_MIN_BYTES 16

#define SPI_DMA_MIN_TIMEOUT (msecs_to_jiffies(1000))
#define SPI_DMA_TIMEOUT_PER_10K (msecs_to_jiffies(4))

#define AUTOSUSPEND_TIMEOUT 2000

struct atmel_spi_caps {
Expand Down

0 comments on commit 49d8575

Please sign in to comment.