Commit c381c89d authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull spi fix from Mark Brown:
 "One small fix for the newly added cs42l43 driver which would have
  caused it problems working in some system configurations by needlessly
  restricting chip select configurations"

* tag 'spi-fix-v6.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
  spi: cs42l43: Don't limit native CS to the first chip select
parents d5c6c9f1 177cddaa
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -148,7 +148,6 @@ static void cs42l43_set_cs(struct spi_device *spi, bool is_high)
{
	struct cs42l43_spi *priv = spi_controller_get_devdata(spi->controller);

	if (spi_get_chipselect(spi, 0) == 0)
	regmap_write(priv->regmap, CS42L43_SPI_CONFIG2, !is_high);
}