ALSA: usb-audio: Support read-only clock selector control
authorAlexander Tsoy <alexander@tsoy.me>
Thu, 25 Jan 2024 20:54:57 +0000 (23:54 +0300)
committerTakashi Iwai <tiwai@suse.de>
Fri, 26 Jan 2024 15:07:32 +0000 (16:07 +0100)
commiteeca59a6e8e610e593d17e12f67324c615ec5ef2
tree17bdd99743028acf803c28c9a307c3d86bbd467e
parent668abe6dc7b61941fa5c724c06797efb0b87f070
ALSA: usb-audio: Support read-only clock selector control

Clock selector control might be read-only. Add corresponding checks
to prevent sending control requests that would fail.

Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
Link: https://lore.kernel.org/r/20240125205457.28258-1-alexander@tsoy.me
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/clock.c