diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-07-15 10:59:11 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-07-19 17:17:09 +0300 |
commit | a033954140ac43a8ce0eab469229a107cfee1c87 (patch) | |
tree | 4b0ef5dc6df1e595a33e49d2c6719d3238323ddd /sound/pci/vx222/vx222.c | |
parent | 5adfd8c26607cdc666aa86ecc10104924d54082a (diff) | |
download | linux-a033954140ac43a8ce0eab469229a107cfee1c87.tar.xz |
ALSA: vx: Manage vx_core object with devres
The firmware data are also released automatically.
Link: https://lore.kernel.org/r/20210715075941.23332-50-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/vx222/vx222.c')
-rw-r--r-- | sound/pci/vx222/vx222.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/vx222/vx222.c b/sound/pci/vx222/vx222.c index 04c7204cb7bc..46a80ef1d481 100644 --- a/sound/pci/vx222/vx222.c +++ b/sound/pci/vx222/vx222.c @@ -109,7 +109,6 @@ static int snd_vx222_free(struct vx_core *chip) if (vx->port[0]) pci_release_regions(vx->pci); pci_disable_device(vx->pci); - kfree(chip); return 0; } |