# Re: \[PATCH RESEND v2 03/51\] ALSA: cs46xx: hand the region to the region proc files

- From: Takashi Iwai \<hidden\>
- Date: 2026-11-07 09:00:18 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2026/11/17883215
- Thread: https://ratatoskr.run/linux-fsdevel/2026/11/17863636/t/3.md

```text
On Wed, 04 Nov 2026 20:16:45 +0100,
Christian Brauner wrote:
> 
> snd_cs46xx_proc_init() stores the chip in the private data of the five
> region entries, but snd_cs46xx_io_read() reads that back as the region,
> so a read of /proc/asound/cardN/CS46xx_BA0 and friends copies from
> whatever sits at the region's offset in struct snd_cs46xx instead of
> the mapped registers. Store the region.
> 
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Cc: <redacted>
> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>

Reviewed-by: Takashi Iwai <redacted>


thanks,

Takashi
```
