summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorShayne Chen <shayne.chen@mediatek.com>2022-12-16 12:05:31 +0800
committerFelix Fietkau <nbd@nbd.name>2023-02-03 14:47:16 +0100
commit3b2f02861f1d051f9db3b622b348c3c921c62275 (patch)
tree2c176125924bb0c5ea0d0a5bb85a4211b9cd3f3e /tools/perf/scripts/python/stackcollapse.py
parent2f2d86309e228adfe658c9c0a23c726d8b3ce475 (diff)
downloadlinux-3b2f02861f1d051f9db3b622b348c3c921c62275.tar.gz
linux-3b2f02861f1d051f9db3b622b348c3c921c62275.zip
wifi: mt76: mt7915: add chip id condition in mt7915_check_eeprom()
When flash mode is enabled, and the eeprom data in the flash is not for the current chipset, it'll still be checked valid, and the default eeprom bin won't be loaded. (e.g., mt7915 NIC inserted with mt7916 eeprom data in the flash.) Fix this kind of case by adding chip id into consideration in mt7915_check_eeprom(). Reported-by: Cheng-Ji Li <cheng-ji.li@mediatek.com> Signed-off-by: Shayne Chen <shayne.chen@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions