diff options
author | Eldad Zack <[email protected]> | 2013-04-03 23:18:54 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2013-04-04 08:30:59 +0200 |
commit | 06ffc1ebddbed88662a47646ff6aa6a2b41f0aec (patch) | |
tree | 7090ac76f3cb113cc077090375162ab9765a35a5 /net/lapb/lapb_iface.c | |
parent | f6a8bc70f85fdc49c5a3eca687c6018ffee8f050 (diff) |
ALSA: usb-audio: UAC2: do clock validity check earlier
Move the check that parse_audio_format_rates_v2() do after
receiving the clock source entity ID directly into the find
function and add a validation flag to the function.
This patch does not introduce any logic flow change.
It is provided to allow introducing automatic clock switching
easier later. By moving this uac_clock_source_is_valid callsite,
2 additional callsites can be avoided.
Signed-off-by: Eldad Zack <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions