001-wifi-mt7601u-update-firmware-path.patch 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. From patchwork Mon May 15 22:56:53 2023
  2. Content-Type: text/plain; charset="utf-8"
  3. MIME-Version: 1.0
  4. Content-Transfer-Encoding: 7bit
  5. X-Patchwork-Submitter: Daniel Golle <daniel@makrotopia.org>
  6. X-Patchwork-Id: 13242309
  7. X-Patchwork-Delegate: kvalo@adurom.com
  8. Return-Path: <linux-wireless-owner@vger.kernel.org>
  9. Date: Tue, 16 May 2023 00:56:53 +0200
  10. From: Daniel Golle <daniel@makrotopia.org>
  11. To: Jakub Kicinski <kuba@kernel.org>, Kalle Valo <kvalo@kernel.org>,
  12. "David S. Miller" <davem@davemloft.net>,
  13. Eric Dumazet <edumazet@google.com>,
  14. Paolo Abeni <pabeni@redhat.com>,
  15. Matthias Brugger <matthias.bgg@gmail.com>,
  16. AngeloGioacchino Del Regno
  17. <angelogioacchino.delregno@collabora.com>,
  18. linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
  19. linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
  20. linux-mediatek@lists.infradead.org
  21. Subject: [PATCH] wifi: mt7601u: update firmware path
  22. Message-ID:
  23. <fefcbf36f13873ae0d97438a0156b87e7e1ae64e.1684191377.git.daniel@makrotopia.org>
  24. MIME-Version: 1.0
  25. Content-Disposition: inline
  26. Precedence: bulk
  27. List-ID: <linux-wireless.vger.kernel.org>
  28. X-Mailing-List: linux-wireless@vger.kernel.org
  29. mt7601u.bin was moved to mediatek/ folder in linux-wireless via commit
  30. 8451c2b1 ("mt76xx: Move the old Mediatek WiFi firmware to mediatek")
  31. and linux-firmware release 20230515.
  32. Update the firmware path requested by the mt7601u driver to follow up
  33. with the move of the file.
  34. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  35. ---
  36. drivers/net/wireless/mediatek/mt7601u/usb.h | 2 +-
  37. 1 file changed, 1 insertion(+), 1 deletion(-)
  38. base-commit: 0d9b41daa5907756a31772d8af8ac5ff25cf17c1
  39. --- a/drivers/net/wireless/mediatek/mt7601u/usb.h
  40. +++ b/drivers/net/wireless/mediatek/mt7601u/usb.h
  41. @@ -8,7 +8,7 @@
  42. #include "mt7601u.h"
  43. -#define MT7601U_FIRMWARE "mt7601u.bin"
  44. +#define MT7601U_FIRMWARE "mediatek/mt7601u.bin"
  45. #define MT_VEND_REQ_MAX_RETRY 10
  46. #define MT_VEND_REQ_TOUT_MS 300