diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-10-28 10:04:39 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-10-28 10:04:39 -0700 |
| commit | 4fb7d85b2ebf0f06d6b47df2c9f2d45c6fec8b8c (patch) | |
| tree | 83a79108f2c19ccf24f6014a37771b775b34262b /drivers/spi/spi-altera-platform.c | |
| parent | 8685de2ed8c1b0e5cfb07d1986e6a38250a58e8a (diff) | |
| parent | d81d0e41ed5fe7229a2c9a29d13bad288c7cf2d2 (diff) | |
Merge tag 'spi-fix-v5.15-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
Pull spi fixes from Mark Brown:
"A couple of final driver specific fixes for v5.15, one fixing
potential ID collisions between two instances of the Altera driver and
one making Microwire full duplex mode actually work on pl022"
* tag 'spi-fix-v5.15-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
spi: spl022: fix Microwire full duplex mode
spi: altera: Change to dynamic allocation of spi id
Diffstat (limited to 'drivers/spi/spi-altera-platform.c')
| -rw-r--r-- | drivers/spi/spi-altera-platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-altera-platform.c b/drivers/spi/spi-altera-platform.c index f7a7c14e3679..65147aae82a1 100644 --- a/drivers/spi/spi-altera-platform.c +++ b/drivers/spi/spi-altera-platform.c @@ -48,7 +48,7 @@ static int altera_spi_probe(struct platform_device *pdev) return err; /* setup the master state. */ - master->bus_num = pdev->id; + master->bus_num = -1; if (pdata) { if (pdata->num_chipselect > ALTERA_SPI_MAX_CS) { |
