diff options
| author | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
| commit | 1ac731c529cd4d6adbce134754b51ff7d822b145 (patch) | |
| tree | 143ab3f35ca5f3b69f583c84e6964b17139c2ec1 /drivers/spi/spi-altera-core.c | |
| parent | 07b4c950f27bef0362dc6ad7ee713aab61d58149 (diff) | |
| parent | 54116d442e001e1b6bd482122043b1870998a1f3 (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.6 merge window.
Diffstat (limited to 'drivers/spi/spi-altera-core.c')
| -rw-r--r-- | drivers/spi/spi-altera-core.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-altera-core.c b/drivers/spi/spi-altera-core.c index 94fe6bf1b9a6..87e37f48f196 100644 --- a/drivers/spi/spi-altera-core.c +++ b/drivers/spi/spi-altera-core.c @@ -80,7 +80,7 @@ static void altera_spi_set_cs(struct spi_device *spi, bool is_high)  		altr_spi_writel(hw, ALTERA_SPI_TARGET_SEL, 0);  	} else {  		altr_spi_writel(hw, ALTERA_SPI_TARGET_SEL, -				BIT(spi->chip_select)); +				BIT(spi_get_chipselect(spi, 0)));  		hw->imr |= ALTERA_SPI_CONTROL_SSO_MSK;  		altr_spi_writel(hw, ALTERA_SPI_CONTROL, hw->imr);  	}  |