diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-04-10 19:26:16 +0300 |
|---|---|---|
| committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2025-04-11 21:19:29 -0700 |
| commit | 4703416d0fb993f7505025667f868f6981a5f7ab (patch) | |
| tree | d95d77fb935d925d8d6bc6d669870361aeff430f /tools/perf/scripts/python/task-analyzer.py | |
| parent | wifi: ath11k: Use of_property_present() to test property presence (diff) | |
| download | linux-4703416d0fb993f7505025667f868f6981a5f7ab.tar.gz linux-4703416d0fb993f7505025667f868f6981a5f7ab.zip | |
wifi: ath12k: Fix a couple NULL vs IS_ERR() bugs
The devm_memremap() function returns error pointers on error and the
ioremap() function returns NULL on error. The error checking here got
those flipped around.
Fixes: c01d5cc9b9fe ("wifi: ath12k: Power up userPD")
Fixes: 6cee30f0da75 ("wifi: ath12k: add AHB driver support for IPQ5332")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/937abc74-9648-4c05-a2c3-8db408b3ed9e@stanley.mountain
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
