diff options
author | Olliver Schinagl <oliver@schinagl.nl> | 2022-09-20 12:01:48 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-10-01 02:47:57 +0200 |
commit | f1f97db627b2f82989a0f97a74bc7a3debd67ecd (patch) | |
tree | f41fd7c116246a5d3df3f5aa2715b9e61b087278 /target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch | |
parent | ba6096d04b4f7a40aec339e7bf3f7b5842ae3cac (diff) | |
download | upstream-f1f97db627b2f82989a0f97a74bc7a3debd67ecd.tar.gz upstream-f1f97db627b2f82989a0f97a74bc7a3debd67ecd.tar.bz2 upstream-f1f97db627b2f82989a0f97a74bc7a3debd67ecd.zip |
realtek: Convert incorrect v5.10 patches
OpenWRT's developer guide prefers having actual patches so they an be
sent upstream more easily.
However, in this case, Adding proper fields also allows for `git am` to
properly function. Some of these patches are quite old, and lack much
traceable history.
This commit tries to rectify that, by digging in the history to find
where and how it was first added.
It is by no means perfect and also shows some patches that should have
been long gone.
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Diffstat (limited to 'target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch')
-rw-r--r-- | target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch b/target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch index 2d8cf9e7cb..23c5448aa2 100644 --- a/target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch +++ b/target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch @@ -1,3 +1,17 @@ +From 0b000cbfe0aa0323bffa855ef8449c0687a4c071 Mon Sep 17 00:00:00 2001 +From: INAGAKI Hiroshi <musashino.open@gmail.com> +Date: Thu, 6 May 2021 19:30:58 +0900 +Subject: realtek: backport spi-realtek-rtl driver from 5.12 to 5.10 + +This patch backports "spi-realtek-rtl" driver to Kernel 5.10 from 5.12. +"MACH_REALTEK_RTL" is used as a platform name in upstream, but "RTL838X" +is used in OpenWrt, so update the dependency by the additional patch. + +Submitted-by: INAGAKI Hiroshi <musashino.open@gmail.com> +--- + drivers/spi/Makefile | 2 +- + 1 files changed, 1 insertion(+), 1 deletion(-) + --- a/drivers/spi/Makefile +++ b/drivers/spi/Makefile @@ -94,7 +94,7 @@ obj-$(CONFIG_SPI_QCOM_QSPI) += spi-qcom |