mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 12:56:45 +07:00
Merge remote-tracking branches 'spi/fix/pxa2xx', 'spi/fix/rspi' and 'spi/fix/s3c64xx' into spi-linus
This commit is contained in:
commit
e0afd0facf
@ -1458,6 +1458,10 @@ static const struct pci_device_id pxa2xx_spi_pci_compound_match[] = {
|
||||
{ PCI_VDEVICE(INTEL, 0x1ac2), LPSS_BXT_SSP },
|
||||
{ PCI_VDEVICE(INTEL, 0x1ac4), LPSS_BXT_SSP },
|
||||
{ PCI_VDEVICE(INTEL, 0x1ac6), LPSS_BXT_SSP },
|
||||
/* GLK */
|
||||
{ PCI_VDEVICE(INTEL, 0x31c2), LPSS_BXT_SSP },
|
||||
{ PCI_VDEVICE(INTEL, 0x31c4), LPSS_BXT_SSP },
|
||||
{ PCI_VDEVICE(INTEL, 0x31c6), LPSS_BXT_SSP },
|
||||
/* APL */
|
||||
{ PCI_VDEVICE(INTEL, 0x5ac2), LPSS_BXT_SSP },
|
||||
{ PCI_VDEVICE(INTEL, 0x5ac4), LPSS_BXT_SSP },
|
||||
|
@ -808,7 +808,7 @@ static int qspi_transfer_out(struct rspi_data *rspi, struct spi_transfer *xfer)
|
||||
for (i = 0; i < len; i++)
|
||||
rspi_write_data(rspi, *tx++);
|
||||
} else {
|
||||
ret = rspi_pio_transfer(rspi, tx, NULL, n);
|
||||
ret = rspi_pio_transfer(rspi, tx, NULL, len);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
}
|
||||
@ -845,10 +845,9 @@ static int qspi_transfer_in(struct rspi_data *rspi, struct spi_transfer *xfer)
|
||||
for (i = 0; i < len; i++)
|
||||
*rx++ = rspi_read_data(rspi);
|
||||
} else {
|
||||
ret = rspi_pio_transfer(rspi, NULL, rx, n);
|
||||
ret = rspi_pio_transfer(rspi, NULL, rx, len);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
*rx++ = ret;
|
||||
}
|
||||
n -= len;
|
||||
}
|
||||
|
@ -1003,7 +1003,7 @@ static struct s3c64xx_spi_info *s3c64xx_spi_parse_dt(struct device *dev)
|
||||
sci->num_cs = temp;
|
||||
}
|
||||
|
||||
sci->no_cs = of_property_read_bool(dev->of_node, "broken-cs");
|
||||
sci->no_cs = of_property_read_bool(dev->of_node, "no-cs-readback");
|
||||
|
||||
return sci;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user