]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: us122l: Drop mmap_count field
authorTakashi Iwai <tiwai@suse.de>
Wed, 13 Nov 2024 11:10:37 +0000 (12:10 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 13 Nov 2024 12:33:47 +0000 (13:33 +0100)
commitf86af06306a7c36451b0174e3c64bc935d04f5e5
tree8fa60a6e40bef2f109ad00df00b1740da08e155d
parentb7df09bb348016943f56b09dcaafe221e3f73947
ALSA: us122l: Drop mmap_count field

us122l.mmap_count field was used for counting the hwdep mmap opens and
syncing at disconnection.  But such a manual sync isn't needed, as the
refcount check is done in the ALSA core side.  So let's drop it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20241113111042.15058-4-tiwai@suse.de
sound/usb/usx2y/us122l.c
sound/usb/usx2y/us122l.h