From 91122f8d0aaafdd94ec4b6cdea6697d4b7f7f82f Mon Sep 17 00:00:00 2001 From: Luis Guzman Date: Wed, 2 Apr 2025 09:58:27 +0000 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/005-removal_of_external_recommendation_for_firmware.patch diff --git a/helpers/DATA/linux/005-removal_of_external_recommendation_for_firmware.patch b/helpers/DATA/linux/005-removal_of_external_recommendation_for_firmware.patch new file mode 100644 index 0000000..5b8ee9a --- /dev/null +++ b/helpers/DATA/linux/005-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 447b51cf..898b83af 100644 +--- a/drivers/net/wireless/atmel/at76c50x-usb.c ++++ b/drivers/net/wireless/atmel/at76c50x-usb.c +@@ -1619,8 +1619,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 f3b50528..1860f2b7 100644 +--- a/sound/soc/sof/topology.c ++++ b/sound/soc/sof/topology.c +@@ -2445,8 +2445,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 90c006c..37398d4 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=34 +VERSION=35 HWEKR=6.8 DI_ENABLED=1 HWE_ENABLED=0