diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-05-31 06:07:15 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-05-31 06:07:15 -0400 |
commit | e37c83c06c2690157a989df40dc99a6b61c9ea15 (patch) | |
tree | 024dfb8b2c9abeec9ca7cb0c0136c276d9aacc91 /include/sound | |
parent | ce1f7d30766f6549db6fa0b9e595e0d26a5b7d9a (diff) | |
parent | 67a3e12b05e055c0415c556a315a3d3eb637e29e (diff) |
Merge commit 'v2.6.35-rc1' into for-2.6.36
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/ak4113.h | 2 | ||||
-rw-r--r-- | include/sound/asound.h | 20 | ||||
-rw-r--r-- | include/sound/es1688.h | 11 | ||||
-rw-r--r-- | include/sound/info.h | 24 | ||||
-rw-r--r-- | include/sound/pcm.h | 3 | ||||
-rw-r--r-- | include/sound/version.h | 2 |
6 files changed, 32 insertions, 30 deletions
diff --git a/include/sound/ak4113.h b/include/sound/ak4113.h index 8988edae1609..2609048c1d44 100644 --- a/include/sound/ak4113.h +++ b/include/sound/ak4113.h | |||
@@ -307,7 +307,7 @@ struct ak4113 { | |||
307 | 307 | ||
308 | int snd_ak4113_create(struct snd_card *card, ak4113_read_t *read, | 308 | int snd_ak4113_create(struct snd_card *card, ak4113_read_t *read, |
309 | ak4113_write_t *write, | 309 | ak4113_write_t *write, |
310 | const unsigned char pgm[AK4113_WRITABLE_REGS], | 310 | const unsigned char *pgm, |
311 | void *private_data, struct ak4113 **r_ak4113); | 311 | void *private_data, struct ak4113 **r_ak4113); |
312 | void snd_ak4113_reg_write(struct ak4113 *ak4113, unsigned char reg, | 312 | void snd_ak4113_reg_write(struct ak4113 *ak4113, unsigned char reg, |
313 | unsigned char mask, unsigned char val); | 313 | unsigned char mask, unsigned char val); |
diff --git a/include/sound/asound.h b/include/sound/asound.h index 098595500632..9f1eecf99e6b 100644 --- a/include/sound/asound.h +++ b/include/sound/asound.h | |||
@@ -574,7 +574,7 @@ enum { | |||
574 | #define SNDRV_TIMER_FLG_SLAVE (1<<0) /* cannot be controlled */ | 574 | #define SNDRV_TIMER_FLG_SLAVE (1<<0) /* cannot be controlled */ |
575 | 575 | ||
576 | struct snd_timer_id { | 576 | struct snd_timer_id { |
577 | int dev_class; | 577 | int dev_class; |
578 | int dev_sclass; | 578 | int dev_sclass; |
579 | int card; | 579 | int card; |
580 | int device; | 580 | int device; |
@@ -762,7 +762,7 @@ struct snd_ctl_elem_id { | |||
762 | snd_ctl_elem_iface_t iface; /* interface identifier */ | 762 | snd_ctl_elem_iface_t iface; /* interface identifier */ |
763 | unsigned int device; /* device/client number */ | 763 | unsigned int device; /* device/client number */ |
764 | unsigned int subdevice; /* subdevice (substream) number */ | 764 | unsigned int subdevice; /* subdevice (substream) number */ |
765 | unsigned char name[44]; /* ASCII name of item */ | 765 | unsigned char name[44]; /* ASCII name of item */ |
766 | unsigned int index; /* index of item */ | 766 | unsigned int index; /* index of item */ |
767 | }; | 767 | }; |
768 | 768 | ||
@@ -809,7 +809,7 @@ struct snd_ctl_elem_info { | |||
809 | struct snd_ctl_elem_value { | 809 | struct snd_ctl_elem_value { |
810 | struct snd_ctl_elem_id id; /* W: element ID */ | 810 | struct snd_ctl_elem_id id; /* W: element ID */ |
811 | unsigned int indirect: 1; /* W: indirect access - obsoleted */ | 811 | unsigned int indirect: 1; /* W: indirect access - obsoleted */ |
812 | union { | 812 | union { |
813 | union { | 813 | union { |
814 | long value[128]; | 814 | long value[128]; |
815 | long *value_ptr; /* obsoleted */ | 815 | long *value_ptr; /* obsoleted */ |
@@ -827,15 +827,15 @@ struct snd_ctl_elem_value { | |||
827 | unsigned char *data_ptr; /* obsoleted */ | 827 | unsigned char *data_ptr; /* obsoleted */ |
828 | } bytes; | 828 | } bytes; |
829 | struct snd_aes_iec958 iec958; | 829 | struct snd_aes_iec958 iec958; |
830 | } value; /* RO */ | 830 | } value; /* RO */ |
831 | struct timespec tstamp; | 831 | struct timespec tstamp; |
832 | unsigned char reserved[128-sizeof(struct timespec)]; | 832 | unsigned char reserved[128-sizeof(struct timespec)]; |
833 | }; | 833 | }; |
834 | 834 | ||
835 | struct snd_ctl_tlv { | 835 | struct snd_ctl_tlv { |
836 | unsigned int numid; /* control element numeric identification */ | 836 | unsigned int numid; /* control element numeric identification */ |
837 | unsigned int length; /* in bytes aligned to 4 */ | 837 | unsigned int length; /* in bytes aligned to 4 */ |
838 | unsigned int tlv[0]; /* first TLV */ | 838 | unsigned int tlv[0]; /* first TLV */ |
839 | }; | 839 | }; |
840 | 840 | ||
841 | #define SNDRV_CTL_IOCTL_PVERSION _IOR('U', 0x00, int) | 841 | #define SNDRV_CTL_IOCTL_PVERSION _IOR('U', 0x00, int) |
@@ -886,8 +886,8 @@ struct snd_ctl_event { | |||
886 | unsigned int mask; | 886 | unsigned int mask; |
887 | struct snd_ctl_elem_id id; | 887 | struct snd_ctl_elem_id id; |
888 | } elem; | 888 | } elem; |
889 | unsigned char data8[60]; | 889 | unsigned char data8[60]; |
890 | } data; | 890 | } data; |
891 | }; | 891 | }; |
892 | 892 | ||
893 | /* | 893 | /* |
diff --git a/include/sound/es1688.h b/include/sound/es1688.h index 10fcf1465810..3ec7ecbe2502 100644 --- a/include/sound/es1688.h +++ b/include/sound/es1688.h | |||
@@ -44,7 +44,6 @@ struct snd_es1688 { | |||
44 | unsigned char pad; | 44 | unsigned char pad; |
45 | unsigned int dma_size; | 45 | unsigned int dma_size; |
46 | 46 | ||
47 | struct snd_card *card; | ||
48 | struct snd_pcm *pcm; | 47 | struct snd_pcm *pcm; |
49 | struct snd_pcm_substream *playback_substream; | 48 | struct snd_pcm_substream *playback_substream; |
50 | struct snd_pcm_substream *capture_substream; | 49 | struct snd_pcm_substream *capture_substream; |
@@ -108,14 +107,16 @@ struct snd_es1688 { | |||
108 | void snd_es1688_mixer_write(struct snd_es1688 *chip, unsigned char reg, unsigned char data); | 107 | void snd_es1688_mixer_write(struct snd_es1688 *chip, unsigned char reg, unsigned char data); |
109 | 108 | ||
110 | int snd_es1688_create(struct snd_card *card, | 109 | int snd_es1688_create(struct snd_card *card, |
110 | struct snd_es1688 *chip, | ||
111 | unsigned long port, | 111 | unsigned long port, |
112 | unsigned long mpu_port, | 112 | unsigned long mpu_port, |
113 | int irq, | 113 | int irq, |
114 | int mpu_irq, | 114 | int mpu_irq, |
115 | int dma8, | 115 | int dma8, |
116 | unsigned short hardware, | 116 | unsigned short hardware); |
117 | struct snd_es1688 ** rchip); | 117 | int snd_es1688_pcm(struct snd_card *card, struct snd_es1688 *chip, int device, |
118 | int snd_es1688_pcm(struct snd_es1688 *chip, int device, struct snd_pcm ** rpcm); | 118 | struct snd_pcm **rpcm); |
119 | int snd_es1688_mixer(struct snd_es1688 *chip); | 119 | int snd_es1688_mixer(struct snd_card *card, struct snd_es1688 *chip); |
120 | int snd_es1688_reset(struct snd_es1688 *chip); | ||
120 | 121 | ||
121 | #endif /* __SOUND_ES1688_H */ | 122 | #endif /* __SOUND_ES1688_H */ |
diff --git a/include/sound/info.h b/include/sound/info.h index 112e8949e1a7..4e94cf1ff762 100644 --- a/include/sound/info.h +++ b/include/sound/info.h | |||
@@ -51,18 +51,18 @@ struct snd_info_entry_ops { | |||
51 | unsigned short mode, void **file_private_data); | 51 | unsigned short mode, void **file_private_data); |
52 | int (*release)(struct snd_info_entry *entry, | 52 | int (*release)(struct snd_info_entry *entry, |
53 | unsigned short mode, void *file_private_data); | 53 | unsigned short mode, void *file_private_data); |
54 | long (*read)(struct snd_info_entry *entry, void *file_private_data, | 54 | ssize_t (*read)(struct snd_info_entry *entry, void *file_private_data, |
55 | struct file *file, char __user *buf, | 55 | struct file *file, char __user *buf, |
56 | unsigned long count, unsigned long pos); | 56 | size_t count, loff_t pos); |
57 | long (*write)(struct snd_info_entry *entry, void *file_private_data, | 57 | ssize_t (*write)(struct snd_info_entry *entry, void *file_private_data, |
58 | struct file *file, const char __user *buf, | 58 | struct file *file, const char __user *buf, |
59 | unsigned long count, unsigned long pos); | 59 | size_t count, loff_t pos); |
60 | long long (*llseek)(struct snd_info_entry *entry, | 60 | loff_t (*llseek)(struct snd_info_entry *entry, |
61 | void *file_private_data, struct file *file, | 61 | void *file_private_data, struct file *file, |
62 | long long offset, int orig); | 62 | loff_t offset, int orig); |
63 | unsigned int(*poll)(struct snd_info_entry *entry, | 63 | unsigned int (*poll)(struct snd_info_entry *entry, |
64 | void *file_private_data, struct file *file, | 64 | void *file_private_data, struct file *file, |
65 | poll_table *wait); | 65 | poll_table *wait); |
66 | int (*ioctl)(struct snd_info_entry *entry, void *file_private_data, | 66 | int (*ioctl)(struct snd_info_entry *entry, void *file_private_data, |
67 | struct file *file, unsigned int cmd, unsigned long arg); | 67 | struct file *file, unsigned int cmd, unsigned long arg); |
68 | int (*mmap)(struct snd_info_entry *entry, void *file_private_data, | 68 | int (*mmap)(struct snd_info_entry *entry, void *file_private_data, |
diff --git a/include/sound/pcm.h b/include/sound/pcm.h index 8b611a561985..dd76cdede64d 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/poll.h> | 29 | #include <linux/poll.h> |
30 | #include <linux/mm.h> | 30 | #include <linux/mm.h> |
31 | #include <linux/bitops.h> | 31 | #include <linux/bitops.h> |
32 | #include <linux/pm_qos_params.h> | ||
32 | 33 | ||
33 | #define snd_pcm_substream_chip(substream) ((substream)->private_data) | 34 | #define snd_pcm_substream_chip(substream) ((substream)->private_data) |
34 | #define snd_pcm_chip(pcm) ((pcm)->private_data) | 35 | #define snd_pcm_chip(pcm) ((pcm)->private_data) |
@@ -365,7 +366,7 @@ struct snd_pcm_substream { | |||
365 | int number; | 366 | int number; |
366 | char name[32]; /* substream name */ | 367 | char name[32]; /* substream name */ |
367 | int stream; /* stream (direction) */ | 368 | int stream; /* stream (direction) */ |
368 | char latency_id[20]; /* latency identifier */ | 369 | struct pm_qos_request_list *latency_pm_qos_req; /* pm_qos request */ |
369 | size_t buffer_bytes_max; /* limit ring buffer size */ | 370 | size_t buffer_bytes_max; /* limit ring buffer size */ |
370 | struct snd_dma_buffer dma_buffer; | 371 | struct snd_dma_buffer dma_buffer; |
371 | unsigned int dma_buf_id; | 372 | unsigned int dma_buf_id; |
diff --git a/include/sound/version.h b/include/sound/version.h index 7fed23442db8..bf69a5b7e65f 100644 --- a/include/sound/version.h +++ b/include/sound/version.h | |||
@@ -1,3 +1,3 @@ | |||
1 | /* include/version.h */ | 1 | /* include/version.h */ |
2 | #define CONFIG_SND_VERSION "1.0.22.1" | 2 | #define CONFIG_SND_VERSION "1.0.23" |
3 | #define CONFIG_SND_DATE "" | 3 | #define CONFIG_SND_DATE "" |