#
eedd0e95 |
| 20-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: line6: Don't forget to call driver's destructor at error path
Currently disconnect callback is used as a driver's destructor, and this has to be called not only at the disconnection time but a
ALSA: line6: Don't forget to call driver's destructor at error path
Currently disconnect callback is used as a driver's destructor, and this has to be called not only at the disconnection time but also at the error paths during probe.
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|
#
2a324fcd |
| 20-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: line6: Abort if inconsistent usbdev is found at disconnect
It's utterly unsafe to proceed further the disconnect procedure if the assigned usbdev is inconsistent with the expected object. Bet
ALSA: line6: Abort if inconsistent usbdev is found at disconnect
It's utterly unsafe to proceed further the disconnect procedure if the assigned usbdev is inconsistent with the expected object. Better to put a WARN_ON() for more cautions and abort immediately.
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|
#
270fd9c7 |
| 20-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: line6: Yet more cleanup of superfluous NULL checks
... in line6_disconnect() as well.
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
#
86b5f3ec |
| 20-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
Merge branch 'topic/line6' into for-next
|
#
c078a4aa |
| 20-Jan-2015 |
Chris Rorvick <chris@rorvick.com> |
ALSA: line6: Remove driver version from header comment
The driver version string was removed in an ealier commit for being useless. These are equally useless.
Signed-off-by: Chris Rorvick <chris@r
ALSA: line6: Remove driver version from header comment
The driver version string was removed in an ealier commit for being useless. These are equally useless.
Signed-off-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|
#
c6fffce9 |
| 20-Jan-2015 |
Chris Rorvick <chris@rorvick.com> |
ALSA: line6: Refer to manufacturer as "Line 6"
The correct spelling includes the space. Fix this in strings and comments that refer to the manufacturer.
Signed-off-by: Chris Rorvick <chris@rorvick
ALSA: line6: Refer to manufacturer as "Line 6"
The correct spelling includes the space. Fix this in strings and comments that refer to the manufacturer.
Signed-off-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|
#
35ae48a3 |
| 20-Jan-2015 |
Chris Rorvick <chris@rorvick.com> |
ALSA: line6: Remove superfluous NULL checks
Signed-off-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
#
4d79fb1e |
| 19-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: line6: Drop line6_send_program() and line6_transmit_parameter()
Both functions are used nowhere.
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
#
73723190 |
| 19-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: line6: Make line6_send_raw_message() static
It's used only locally.
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
#
5a475311 |
| 19-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: line6: Sync PCM stop at disconnect
Call line6_pcm_disconnect() at disconnect to make sure that all URBs are cleared. Also reduce the superfluous snd_pcm_stop() calls from the function (and re
ALSA: line6: Sync PCM stop at disconnect
Call line6_pcm_disconnect() at disconnect to make sure that all URBs are cleared. Also reduce the superfluous snd_pcm_stop() calls from the function (and remove the unused function) since the streams are guaranteed to be stopped at this point via snd_card_disconnect().
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|
#
31ca1921 |
| 19-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: line6: Remove superfluous disconnect call in suspend handler
Calling line6_pcm_disconnect() at suspend callback is superfluous and rather confusing. Let's get rid of it.
Tested-by: Chris Ror
ALSA: line6: Remove superfluous disconnect call in suspend handler
Calling line6_pcm_disconnect() at suspend callback is superfluous and rather confusing. Let's get rid of it.
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|
#
2cd53fa9 |
| 19-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: line6: Remove driver version string
This is rather useless for a driver that has been already merged into the official tree.
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takash
ALSA: line6: Remove driver version string
This is rather useless for a driver that has been already merged into the official tree.
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|
#
85a9339b |
| 19-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: line6: Reorganize card resource handling
This is a fairly big rewrite regarding the card resource management in line6 drivers:
- The card creation is moved into line6_probe(). This adds the
ALSA: line6: Reorganize card resource handling
This is a fairly big rewrite regarding the card resource management in line6 drivers:
- The card creation is moved into line6_probe(). This adds the global destructor to private_free, so that each driver doesn't have to call it any longer.
- The USB disconnect callback handles the card release, thus each driver needs to concentrate on only its own resources. No need to snd_card_*() call in the destructor.
- Fix the potential stall in disconnection by removing snd_card_free(). It's replaced with snd_card_free_when_closed() for asynchronous release.
- The only remaining operation for the card in each driver is the call of snd_card_register(). All the rest are dealt in the common module by itself.
- These ended up with removal of audio.[ch] as a result of a reduction of one layer. Each driver just needs to call line6_probe().
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|
#
a019f5e8 |
| 19-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: line6: Remove superfluous out-of-memory error messages
Kernel already shows the error in the common path.
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.
ALSA: line6: Remove superfluous out-of-memory error messages
Kernel already shows the error in the common path.
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|
#
45a82f18 |
| 19-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: line6: Drop usb_device sysfs symlink
It's non-standard and rather superfluous.
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
Revision tags: v3.19-rc5 |
|
#
ccddbe4a |
| 15-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: line6: Split to each driver
Split to each individual driver for POD, PODHD, TonePort and Variax with a core LINE6 helper module. The new modules follow the standard ALSA naming rule with snd
ALSA: line6: Split to each driver
Split to each individual driver for POD, PODHD, TonePort and Variax with a core LINE6 helper module. The new modules follow the standard ALSA naming rule with snd prefix: snd-usb-pod, snd-usb-podhd, snd-usb-toneport and snd-usb-variax, together with the corresponding CONFIG_SND_USB_* Kconfig items.
Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|
#
0f2524b3 |
| 19-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: line6: Use setup_timer() and mod_timer()
No functional change, refactoring with the standard helpers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
#
7bfb8575 |
| 12-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
Merge branch 'topic/line6' into for-next
|
#
61864d84 |
| 12-Jan-2015 |
Takashi Iwai <tiwai@suse.de> |
ALSA: move line6 usb driver into sound/usb
Promote line6 driver from staging to sound/usb/line6 directory, and maintain through sound subsystem tree.
This commit just moves the code and adapts Make
ALSA: move line6 usb driver into sound/usb
Promote line6 driver from staging to sound/usb/line6 directory, and maintain through sound subsystem tree.
This commit just moves the code and adapts Makefile / Kconfig. The further renames and misc cleanups will follow.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|