]> git.alsa-project.org Git - alsa-lib.git/commit
control: Make ump_{endpoint|block}_info calls optional
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Aug 2024 14:25:11 +0000 (16:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 15 Aug 2024 14:26:33 +0000 (16:26 +0200)
commitfa673b719cca2332a6936211f0ab5e72233c4f52
treea26ebed1929c5235ab6d546107dff68ba7eb281a
parent769d1db1b0a213a39c7e59c0d1d724e7f45b1ac3
control: Make ump_{endpoint|block}_info calls optional

Add the NULL check for ump_endpoint_info and ump_block_info calls.
Those can be NULl depending on the target.

Fixes: 81b0cf46d16a ("control: Add UMP Endpoint and Block info query support")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/control/control.c