diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-07-19 17:09:29 -0700 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-07-20 08:42:58 +0200 |
| commit | 2d0769387594eb26df33c72c08c6429e4fddf5fd (patch) | |
| tree | 0b97043f67c76b97222ab66356343f7f08f40bad /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4797f267159029a6ac93f3d25c22eed3d07fda42 (diff) | |
ALSA: sis7019: Use pcim_iomap_region() for MMIO BAR
Replace the open-coded pcim_request_all_regions() +
devm_ioremap() pair with per-BAR pcim helpers: reserve BAR0 (the
I/O port region, used via inl/outl) with pcim_request_region(), and
reserve + iomap BAR1 (MMIO) with a single pcim_iomap_region() call.
This folds the BAR1 reserve and iomap into one managed call. The
error check moves from a NULL test to IS_ERR(), since pcim_iomap_region()
returns an IOMEM_ERR_PTR on failure.
Assisted-by: opencode:hy3-free
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260720000929.1432533-1-rosenp@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
