aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-10-28 17:25:01 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-10-28 17:25:01 -0400
commit68d99b2c8efcb6ed3807a55569300c53b5f88be5 (patch)
treef189c8f2132d3668a2f0e503f5c3f8695b26a1c8 /include/linux/usb
parent0e59e7e7feb5a12938fbf9135147eeda3238c6c4 (diff)
parent8128c9f21509f9a8b6da94ac432d845dda458406 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (549 commits) ALSA: hda - Fix ADC input-amp handling for Cx20549 codec ALSA: hda - Keep EAPD turned on for old Conexant chips ALSA: hda/realtek - Fix missing volume controls with ALC260 ASoC: wm8940: Properly set codec->dapm.bias_level ALSA: hda - Fix pin-config for ASUS W90V ALSA: hda - Fix surround/CLFE headphone and speaker pins order ALSA: hda - Fix typo ALSA: Update the sound git tree URL ALSA: HDA: Add new revision for ALC662 ASoC: max98095: Convert codec->hw_write to snd_soc_write ASoC: keep pointer to resource so it can be freed ASoC: sgtl5000: Fix wrong mask in some snd_soc_update_bits calls ASoC: wm8996: Fix wrong mask for setting WM8996_AIF_CLOCKING_2 ASoC: da7210: Add support for line out and DAC ASoC: da7210: Add support for DAPM ALSA: hda/realtek - Fix DAC assignments of multiple speakers ASoC: Use SGTL5000_LINREG_VDDD_MASK instead of hardcoded mask value ASoC: Set sgtl5000->ldo in ldo_regulator_register ASoC: wm8996: Use SND_SOC_DAPM_AIF_OUT for AIF2 Capture ASoC: wm8994: Use SND_SOC_DAPM_AIF_OUT for AIF3 Capture ...
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/ch9.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/include/linux/usb/ch9.h b/include/linux/usb/ch9.h
index f32a64e57f97..d5da6c68c250 100644
--- a/include/linux/usb/ch9.h
+++ b/include/linux/usb/ch9.h
@@ -383,12 +383,6 @@ struct usb_endpoint_descriptor {
383#define USB_ENDPOINT_NUMBER_MASK 0x0f /* in bEndpointAddress */ 383#define USB_ENDPOINT_NUMBER_MASK 0x0f /* in bEndpointAddress */
384#define USB_ENDPOINT_DIR_MASK 0x80 384#define USB_ENDPOINT_DIR_MASK 0x80
385 385
386#define USB_ENDPOINT_SYNCTYPE 0x0c
387#define USB_ENDPOINT_SYNC_NONE (0 << 2)
388#define USB_ENDPOINT_SYNC_ASYNC (1 << 2)
389#define USB_ENDPOINT_SYNC_ADAPTIVE (2 << 2)
390#define USB_ENDPOINT_SYNC_SYNC (3 << 2)
391
392#define USB_ENDPOINT_XFERTYPE_MASK 0x03 /* in bmAttributes */ 386#define USB_ENDPOINT_XFERTYPE_MASK 0x03 /* in bmAttributes */
393#define USB_ENDPOINT_XFER_CONTROL 0 387#define USB_ENDPOINT_XFER_CONTROL 0
394#define USB_ENDPOINT_XFER_ISOC 1 388#define USB_ENDPOINT_XFER_ISOC 1
@@ -396,6 +390,17 @@ struct usb_endpoint_descriptor {
396#define USB_ENDPOINT_XFER_INT 3 390#define USB_ENDPOINT_XFER_INT 3
397#define USB_ENDPOINT_MAX_ADJUSTABLE 0x80 391#define USB_ENDPOINT_MAX_ADJUSTABLE 0x80
398 392
393#define USB_ENDPOINT_SYNCTYPE 0x0c
394#define USB_ENDPOINT_SYNC_NONE (0 << 2)
395#define USB_ENDPOINT_SYNC_ASYNC (1 << 2)
396#define USB_ENDPOINT_SYNC_ADAPTIVE (2 << 2)
397#define USB_ENDPOINT_SYNC_SYNC (3 << 2)
398
399#define USB_ENDPOINT_USAGE_MASK 0x30
400#define USB_ENDPOINT_USAGE_DATA 0x00
401#define USB_ENDPOINT_USAGE_FEEDBACK 0x10
402#define USB_ENDPOINT_USAGE_IMPLICIT_FB 0x20 /* Implicit feedback Data endpoint */
403
399/*-------------------------------------------------------------------------*/ 404/*-------------------------------------------------------------------------*/
400 405
401/** 406/**