alsa: Use pa_device_port->impl_free() for freeing port data

This allows us to clean up ucm port data associated with a port during
port clean up, instead of having to track this separately using a
dynarray.
This commit is contained in:
Arun Raghavan 2016-05-03 18:22:09 +05:30 committed by Arun Raghavan
parent 9e10c1caa3
commit b793f68f2e
3 changed files with 16 additions and 23 deletions

View file

@ -196,7 +196,6 @@ struct pa_alsa_ucm_config {
PA_LLIST_HEAD(pa_alsa_ucm_verb, verbs);
PA_LLIST_HEAD(pa_alsa_jack, jacks);
pa_dynarray *ports; /* struct ucm_port */
};
struct pa_alsa_ucm_mapping_context {