aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.h
diff options
context:
space:
mode:
authorEldad Zack <eldad@fogrefinery.com>2013-04-03 23:18:56 +0200
committerTakashi Iwai <tiwai@suse.de>2013-04-04 08:31:32 +0200
commitef02e29b0180ddbcc1ecf3c362e333c572f27c08 (patch)
tree2c645903e9fbff3996c5e32cb8993a86d9a6b0b4 /sound/usb/usbaudio.h
parentALSA: usb-audio: UAC2: try to find and switch to valid clock (diff)
downloadlinux-dev-ef02e29b0180ddbcc1ecf3c362e333c572f27c08.tar.xz
linux-dev-ef02e29b0180ddbcc1ecf3c362e333c572f27c08.zip
ALSA: usb-audio: UAC2: auto clock selection module param
Add a module param to disable auto clock selection. This is provided for users that expect the audio stream to fail when the clock source is invalid (e.g., the word clock was unintentionally disconnected). Signed-off-by: Eldad Zack <eldad@fogrefinery.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usbaudio.h')
-rw-r--r--sound/usb/usbaudio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/usbaudio.h b/sound/usb/usbaudio.h
index 1ac3fd9cc5a6..bc43bcaddf4d 100644
--- a/sound/usb/usbaudio.h
+++ b/sound/usb/usbaudio.h
@@ -56,6 +56,7 @@ struct snd_usb_audio {
int setup; /* from the 'device_setup' module param */
int nrpacks; /* from the 'nrpacks' module param */
+ bool autoclock; /* from the 'autoclock' module param */
struct usb_host_interface *ctrl_intf; /* the audio control interface */
};