Commit Graph

7 Commits

Author SHA1 Message Date
The-going
bfe0300700
Fix warning: "IEEE80211_MAX_AMPDU_BUF" redefined if rtl8723cs module build (#3286)
All warning:
debug> grep warning: compilation.log | wc -l
152
A large number of garbage warnings:
debug> grep warning: compilation.log | grep IEEE80211_MAX_AMPDU_BUF | wc -l
103

After v4.19 linux kernel, this definition is not required.

Check:
list="$(find drivers/net/wireless/realtek/ -type f)"
for f in $list;do awk -v f=$f '/IEEE80211_MAX_AMPDU_BUF/{print f}' $f;done
drivers/net/wireless/realtek/rtlwifi/base.c
drivers/net/wireless/realtek/rtl8723cs/include/wifi.h

Only one drivers/net/wireless/realtek/rtlwifi/base.c file uses
the definition IEEE80211_MAX_AMPDU_BUF_HT.
or
See `git log -p b8042b3da925f390c1482b -3` command in
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-11-28 21:32:07 +01:00
Igor Pečovnik
5ba09b73cd
Add upstream patches, remove deprecated (#3214) 2021-10-21 18:55:58 +02:00
Icenowy Zheng
e6c4287246
Pine A64 LTS v2 support (#2919)
* remove obsolete and broken patch for pine64so u-boot

This prevents the image from being built.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: fix pine64so phy-mode and add yt8511 support

Pine A64-LTS board should have RGMII-TXID mode instead of RGMII-ID (the
Realtek PHY chip's RXID is sometimes broken).

In addition, new Pine A64-LTS v2 board will use YT8511 instead of
RTL8211E, which still works under RGMII-TXID mode.

Backport YT8511 driver and phy-mode change from linux-next.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-06-28 07:04:53 +02:00
Igor Pečovnik
bc32f1913d
Small bugfixes to buildall, remove patch that is not needed (#2869) 2021-06-02 10:55:17 +02:00
juanesf
be412d2ddd
Bpi-M2-Ultra enable audio on branches (#2866)
* Remove unnecessary patch

- this patch works when compiling and installing manually.
- the dtb with the changes is taken from the kernel and not from u-boot, therefore this patch does not work.

* Add enable-audio-codec-bpim2ultra-kernel.patch

- Add patch to enable audio codec in bpi-m2-ultra with h3 compatible
- Built and tested on Armbian Buster with Kernel 5.11.x (edge)

* Bpi-M2-Ultra enable audio on branches

- This finishes enabling the audio codec in the other kernels (5.4 - 5.10 - 5.11)
- Remove patch from u-boot folder (my bug)
- Compiled and tested in their respective kernel with debian buster

* Bpi-M2-Ultra enable audio kernel 5.12

- add patch to kernel 5.12
2021-06-01 19:48:04 +02:00
Uglymotha
314061c3c3
Improve sunxi fix-a64-timejump.patch (#2824)
* Improve sunxi fix-a64-timejump.patch

Current patch still throws BUG:
WARNING: CPU: 2 PID: 31 at drivers/clocksource/arm_arch_timer.c:364 sun50i_a64_read_cntpct_el0+0x2c/0x38

Cause: Timer values are required to be exactly the same, while it may increase in between reads. Seems to happen especially during boot
Timer values are like: x2 : 0000000015014561 - x0 : 0000000015014567

Solution: Normalize timer values and return normalized value.

* Add patch for 5.12.y

Note. Small changes on upstream solution:
GENMASK(9, 0 ... -> GENMASK(8, 0 ...

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-05-23 00:06:52 +02:00
Igor Pečovnik
0cdffb29b0
Renaming DEV branch to EDGE (#2704)
* Change DEV to EDGE
* Renaming patches dev folder to edge
* Move patches into subdir where they will be archived.
* Relink patch directories properly
2021-03-24 19:01:53 +01:00