mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
Merge branch 'for-linus' into for-next
Back-merge from for-linus just to make the further development easier.
This commit is contained in:
commit
3d2f4d0c0d
576 changed files with 7217 additions and 3231 deletions
|
|
@ -55,7 +55,6 @@ static int snd_line6_impulse_volume_put(struct snd_kcontrol *kcontrol,
|
|||
err = line6_pcm_acquire(line6pcm, LINE6_STREAM_IMPULSE);
|
||||
if (err < 0) {
|
||||
line6pcm->impulse_volume = 0;
|
||||
line6_pcm_release(line6pcm, LINE6_STREAM_IMPULSE);
|
||||
return err;
|
||||
}
|
||||
} else {
|
||||
|
|
@ -211,7 +210,9 @@ static void line6_stream_stop(struct snd_line6_pcm *line6pcm, int direction,
|
|||
spin_lock_irqsave(&pstr->lock, flags);
|
||||
clear_bit(type, &pstr->running);
|
||||
if (!pstr->running) {
|
||||
spin_unlock_irqrestore(&pstr->lock, flags);
|
||||
line6_unlink_audio_urbs(line6pcm, pstr);
|
||||
spin_lock_irqsave(&pstr->lock, flags);
|
||||
if (direction == SNDRV_PCM_STREAM_CAPTURE) {
|
||||
line6pcm->prev_fbuf = NULL;
|
||||
line6pcm->prev_fsize = 0;
|
||||
|
|
|
|||
|
|
@ -244,8 +244,8 @@ static int pod_set_system_param_int(struct usb_line6_pod *pod, int value,
|
|||
static ssize_t serial_number_show(struct device *dev,
|
||||
struct device_attribute *attr, char *buf)
|
||||
{
|
||||
struct usb_interface *interface = to_usb_interface(dev);
|
||||
struct usb_line6_pod *pod = usb_get_intfdata(interface);
|
||||
struct snd_card *card = dev_to_snd_card(dev);
|
||||
struct usb_line6_pod *pod = card->private_data;
|
||||
|
||||
return sprintf(buf, "%u\n", pod->serial_number);
|
||||
}
|
||||
|
|
@ -256,8 +256,8 @@ static ssize_t serial_number_show(struct device *dev,
|
|||
static ssize_t firmware_version_show(struct device *dev,
|
||||
struct device_attribute *attr, char *buf)
|
||||
{
|
||||
struct usb_interface *interface = to_usb_interface(dev);
|
||||
struct usb_line6_pod *pod = usb_get_intfdata(interface);
|
||||
struct snd_card *card = dev_to_snd_card(dev);
|
||||
struct usb_line6_pod *pod = card->private_data;
|
||||
|
||||
return sprintf(buf, "%d.%02d\n", pod->firmware_version / 100,
|
||||
pod->firmware_version % 100);
|
||||
|
|
@ -269,8 +269,8 @@ static ssize_t firmware_version_show(struct device *dev,
|
|||
static ssize_t device_id_show(struct device *dev,
|
||||
struct device_attribute *attr, char *buf)
|
||||
{
|
||||
struct usb_interface *interface = to_usb_interface(dev);
|
||||
struct usb_line6_pod *pod = usb_get_intfdata(interface);
|
||||
struct snd_card *card = dev_to_snd_card(dev);
|
||||
struct usb_line6_pod *pod = card->private_data;
|
||||
|
||||
return sprintf(buf, "%d\n", pod->device_id);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1141,6 +1141,7 @@ bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio *chip)
|
|||
case USB_ID(0x0556, 0x0014): /* Phoenix Audio TMX320VC */
|
||||
case USB_ID(0x05A3, 0x9420): /* ELP HD USB Camera */
|
||||
case USB_ID(0x074D, 0x3553): /* Outlaw RR2150 (Micronas UAC3553B) */
|
||||
case USB_ID(0x1901, 0x0191): /* GE B850V3 CP2114 audio interface */
|
||||
case USB_ID(0x1de7, 0x0013): /* Phoenix Audio MT202exe */
|
||||
case USB_ID(0x1de7, 0x0014): /* Phoenix Audio TMX320 */
|
||||
case USB_ID(0x1de7, 0x0114): /* Phoenix Audio MT202pcs */
|
||||
|
|
|
|||
Loading…
Reference in a new issue