From 96cf108af61def57e9077c6fc2f17a79ff078192 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 2 Apr 2025 03:22:16 -0600 Subject: [PATCH] linux: removal of references to external sources for firmware --- ...external_recommendation_for_firmware.patch | 29 +++++++++++++++++++ helpers/make-linux | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 helpers/DATA/linux/removal_of_external_recommendation_for_firmware.patch diff --git a/helpers/DATA/linux/removal_of_external_recommendation_for_firmware.patch b/helpers/DATA/linux/removal_of_external_recommendation_for_firmware.patch new file mode 100644 index 0000000..2e70f50 --- /dev/null +++ b/helpers/DATA/linux/removal_of_external_recommendation_for_firmware.patch @@ -0,0 +1,29 @@ +Removal of references to external repositories we can't manage what kind of firmware is pointed to. +The only firmware we can confirm to work with is the one contained on the packge source code. + +diff --git a/drivers/net/wireless/atmel/at76c50x-usb.c b/drivers/net/wireless/atmel/at76c50x-usb.c +index 86f95bd0..046b298d 100644 +--- a/drivers/net/wireless/atmel/at76c50x-usb.c ++++ b/drivers/net/wireless/atmel/at76c50x-usb.c +@@ -1612,8 +1612,6 @@ static struct fwentry *at76_load_firmware(struct usb_device *udev, + if (ret < 0) { + dev_err(&udev->dev, "firmware %s not found!\n", + fwe->fwname); +- dev_err(&udev->dev, +- "you may need to download the firmware from http://developer.berlios.de/projects/at76c503a/\n"); + goto exit; + } + +diff --git a/sound/soc/sof/topology.c b/sound/soc/sof/topology.c +index 1bb2dcf3..ab1c234c 100644 +--- a/sound/soc/sof/topology.c ++++ b/sound/soc/sof/topology.c +@@ -3710,8 +3710,6 @@ int snd_sof_load_topology(struct snd_soc_component *scomp, const char *file) + if (ret < 0) { + dev_err(scomp->dev, "error: tplg request firmware %s failed err: %d\n", + file, ret); +- dev_err(scomp->dev, +- "you may need to download the firmware from https://github.com/thesofproject/sof-bin/\n"); + return ret; + } + diff --git a/helpers/make-linux b/helpers/make-linux index 43d345c..9c0f367 100644 --- a/helpers/make-linux +++ b/helpers/make-linux @@ -19,7 +19,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=30 +VERSION=31 HWEKR=5.15 # DI_ENABLED = 1 enables udeb build, 0 or any other value disables them.