diff options
author | James Calligeros <jcalligeros99@gmail.com> | 2024-07-18 02:53:40 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-07-18 09:04:53 +0100 |
commit | 32e34f32409cfe76a974e6f53f48872e894ad83a (patch) | |
tree | 589badeb222766a9534f356c23bafcc25808f2ad /sys-kernel/asahi-sources | |
parent | net-misc/networkmanager: fix libsystemdless build (diff) | |
download | gentoo-32e34f32409cfe76a974e6f53f48872e894ad83a.tar.gz gentoo-32e34f32409cfe76a974e6f53f48872e894ad83a.tar.bz2 gentoo-32e34f32409cfe76a974e6f53f48872e894ad83a.zip |
sys-kernel/asahi-sources: drop stale SPI patch
This patch to SPI breaks M1 series SoCs and should have been dropped
with the 6.8 series.
Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37599
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-kernel/asahi-sources')
-rw-r--r-- | sys-kernel/asahi-sources/asahi-sources-6.9.8_p1-r1.ebuild (renamed from sys-kernel/asahi-sources/asahi-sources-6.9.8_p1.ebuild) | 1 | ||||
-rw-r--r-- | sys-kernel/asahi-sources/asahi-sources-6.9.9_p5-r1.ebuild (renamed from sys-kernel/asahi-sources/asahi-sources-6.9.9_p5.ebuild) | 1 | ||||
-rw-r--r-- | sys-kernel/asahi-sources/files/asahi-6.8.2_revert_spi_stable_asahi.patch | 46 |
3 files changed, 0 insertions, 48 deletions
diff --git a/sys-kernel/asahi-sources/asahi-sources-6.9.8_p1.ebuild b/sys-kernel/asahi-sources/asahi-sources-6.9.8_p1-r1.ebuild index ef7185794376..551f5fbce65e 100644 --- a/sys-kernel/asahi-sources/asahi-sources-6.9.8_p1.ebuild +++ b/sys-kernel/asahi-sources/asahi-sources-6.9.8_p1-r1.ebuild @@ -58,7 +58,6 @@ DEPEND=" UNIPATCH_STRICTORDER="yes" UNIPATCH_LIST=" ${FILESDIR}/asahi-6.8-config-gentoo-Drop-RANDSTRUCT-from-GENTOO_KERNEL_SEL.patch - ${FILESDIR}/asahi-6.8.2_revert_spi_stable_asahi.patch ${DISTDIR}/linux-${ASAHI_TAG}.patch " diff --git a/sys-kernel/asahi-sources/asahi-sources-6.9.9_p5.ebuild b/sys-kernel/asahi-sources/asahi-sources-6.9.9_p5-r1.ebuild index 4b6fa5c16640..c7a931cddb78 100644 --- a/sys-kernel/asahi-sources/asahi-sources-6.9.9_p5.ebuild +++ b/sys-kernel/asahi-sources/asahi-sources-6.9.9_p5-r1.ebuild @@ -58,7 +58,6 @@ DEPEND=" UNIPATCH_STRICTORDER="yes" UNIPATCH_LIST=" ${FILESDIR}/asahi-6.8-config-gentoo-Drop-RANDSTRUCT-from-GENTOO_KERNEL_SEL.patch - ${FILESDIR}/asahi-6.8.2_revert_spi_stable_asahi.patch ${DISTDIR}/linux-${ASAHI_TAG}.patch " diff --git a/sys-kernel/asahi-sources/files/asahi-6.8.2_revert_spi_stable_asahi.patch b/sys-kernel/asahi-sources/files/asahi-6.8.2_revert_spi_stable_asahi.patch deleted file mode 100644 index fc6522e205b8..000000000000 --- a/sys-kernel/asahi-sources/files/asahi-6.8.2_revert_spi_stable_asahi.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c -index 46f153548760..d1b297f438f1 100644 ---- a/drivers/spi/spi.c -+++ b/drivers/spi/spi.c -@@ -1042,14 +1042,10 @@ static void spi_set_cs(struct spi_device *spi, bool enable, bool force) - if (spi->mode & SPI_CS_HIGH) - enable = !enable; - -- /* -- * Handle chip select delays for GPIO based CS or controllers without -- * programmable chip select timing. -- */ -- if ((spi_is_csgpiod(spi) || !spi->controller->set_cs_timing) && !activate) -- spi_delay_exec(&spi->cs_hold, NULL); -- - if (spi_is_csgpiod(spi)) { -+ if (!spi->controller->set_cs_timing && !activate) -+ spi_delay_exec(&spi->cs_hold, NULL); -+ - if (!(spi->mode & SPI_NO_CS)) { - /* - * Historically ACPI has no means of the GPIO polarity and -@@ -1083,16 +1079,16 @@ static void spi_set_cs(struct spi_device *spi, bool enable, bool force) - if ((spi->controller->flags & SPI_CONTROLLER_GPIO_SS) && - spi->controller->set_cs) - spi->controller->set_cs(spi, !enable); -+ -+ if (!spi->controller->set_cs_timing) { -+ if (activate) -+ spi_delay_exec(&spi->cs_setup, NULL); -+ else -+ spi_delay_exec(&spi->cs_inactive, NULL); -+ } - } else if (spi->controller->set_cs) { - spi->controller->set_cs(spi, !enable); - } -- -- if (spi_is_csgpiod(spi) || !spi->controller->set_cs_timing) { -- if (activate) -- spi_delay_exec(&spi->cs_setup, NULL); -- else -- spi_delay_exec(&spi->cs_inactive, NULL); -- } - } - - #ifdef CONFIG_HAS_DMA |