summaryrefslogtreecommitdiffstats
path: root/sound/usb/clock.h
blob: 076e31b79ee0ff69a137d8367af1041d12686e66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __USBAUDIO_CLOCK_H
#define __USBAUDIO_CLOCK_H

int snd_usb_init_sample_rate(struct snd_usb_audio *chip, int iface,
			     struct usb_host_interface *alts,
			     struct audioformat *fmt, int rate);

int snd_usb_clock_find_source(struct snd_usb_audio *chip, int protocol,
			     int entity_id, bool validate);

#endif /* __USBAUDIO_CLOCK_H */