diff options
author | Takashi Iwai <[email protected]> | 2023-08-16 18:02:47 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2023-08-17 09:24:01 +0200 |
commit | 897c8882df5875fe0bbc3e93ee8e9ba4a2c6ca0d (patch) | |
tree | 155baa24635991f2b8cbc82d485fd86b46284acb /scripts/gdb/linux/utils.py | |
parent | bc41a7228cedc39395d032b2502975e53b7a9180 (diff) |
ALSA: hwdep: Don't embed device
Like control and PCM devices, it's better to avoid the embedded struct
device for hwdep (although it's more or less well working), too.
Change it to allocate via snd_device_alloc(), and free the memory at
the common snd_hwdep_free().
Reviewed-by: Jaroslav Kysela <[email protected]>
Signed-off-by: Curtis Malainey <[email protected]>
Tested-by: Curtis Malainey <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions