Skip to content

Commit 5517e88

Browse files
pelwellRoger Knecht
authored andcommitted
SQUASH: spi: Demote SPI_CS_HIGH warning to KERN_DEBUG
BugLink: https://bugs.launchpad.net/bugs/1877928 This warning is unavoidable from a client's perspective and doesn't indicate anything wrong (just surprising). SQUASH with "spi: use_gpio_descriptor fixup moved to spi_setup" Signed-off-by: Phil Elwell <phil@raspberrypi.com> (cherry picked from commit d168f59949bad0a74dd6c3df90bcbe0283e67a2e rpi-5.4.y) Signed-off-by: Juerg Haefliger <juergh@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
1 parent cf2a6f3 commit 5517e88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/spi/spi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3131,8 +3131,8 @@ int spi_setup(struct spi_device *spi)
31313131

31323132
if (ctlr->use_gpio_descriptors && ctlr->cs_gpiods &&
31333133
ctlr->cs_gpiods[spi->chip_select] && !(spi->mode & SPI_CS_HIGH)) {
3134-
dev_warn(&spi->dev,
3135-
"setup: forcing CS_HIGH (use_gpio_descriptors)\n");
3134+
dev_dbg(&spi->dev,
3135+
"setup: forcing CS_HIGH (use_gpio_descriptors)\n");
31363136
spi->mode |= SPI_CS_HIGH;
31373137
}
31383138

0 commit comments

Comments
 (0)