<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/line6/capture.c, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=master</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-01-12T21:29:57Z</updated>
<entry>
<title>ALSA: move line6 usb driver into sound/usb</title>
<updated>2015-01-12T21:29:57Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2015-01-12T21:29:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=61864d844c296933d40c02683252bbea5193b101'/>
<id>urn:sha1:61864d844c296933d40c02683252bbea5193b101</id>
<content type='text'>
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 &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>staging: line6: Move audio endpoints to properties</title>
<updated>2015-01-12T21:24:08Z</updated>
<author>
<name>Chris Rorvick</name>
<email>chris@rorvick.com</email>
</author>
<published>2015-01-12T20:42:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=16d603d32d3437abd1867c7671ed2763bd3aaf0d'/>
<id>urn:sha1:16d603d32d3437abd1867c7671ed2763bd3aaf0d</id>
<content type='text'>
The device type can now be used to determine the addresses of the
audio endpoints for the interface.  Drop the conditional logic and make
these values properties.

Signed-off-by: Chris Rorvick &lt;chris@rorvick.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>staging/line6: blank line after declaration cleanup</title>
<updated>2014-05-15T20:54:29Z</updated>
<author>
<name>Jerry Snitselaar</name>
<email>dev@snitselaar.org</email>
</author>
<published>2014-04-24T07:31:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f3c5261e04b9ace521e9392f7b6a28f62b28b9fc'/>
<id>urn:sha1:f3c5261e04b9ace521e9392f7b6a28f62b28b9fc</id>
<content type='text'>
Fix coding style warnings reported by checkpath.

Signed-off-by: Jerry Snitselaar &lt;dev@snitselaar.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: line6: Fix coding style problem</title>
<updated>2014-03-18T23:11:15Z</updated>
<author>
<name>Mikhail Boiko</name>
<email>mm.boiko@yandex.ru</email>
</author>
<published>2014-03-18T21:59:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b5f87cf913e6005e3d41db01ffa6d71c292271d9'/>
<id>urn:sha1:b5f87cf913e6005e3d41db01ffa6d71c292271d9</id>
<content type='text'>
Fix style issue for eudyptula challenge

Signed-off-by: Mikhail Boiko &lt;mm.boiko@yandex.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: line6: drop CONFIG_LINE6_USB_DUMP_PCM</title>
<updated>2013-01-20T23:56:59Z</updated>
<author>
<name>Stefan Hajnoczi</name>
<email>stefanha@gmail.com</email>
</author>
<published>2013-01-19T08:59:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=98115f1df394706556bd03e20418fa50e42e04dd'/>
<id>urn:sha1:98115f1df394706556bd03e20418fa50e42e04dd</id>
<content type='text'>
The CONFIG_LINE6_USB_DUMP_PCM config option prints a hexdump of PCM
audio data as URBs are sent and received.  The usbmon feature should be
used instead of manually dumping PCM URBs.  There are a few advantages
to using usbmon:

 * Can be turned on/off at runtime
 * Provides full USB-level traffic
 * tcpdump and wireshark support for powerful analysis
 * No driver-specific code is required

This is the last user of line6_write_hexdump() so we drop it too.

Signed-off-by: Stefan Hajnoczi &lt;stefanha@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: line6: wrap &gt;80 char lines in capture.c</title>
<updated>2012-11-13T21:17:40Z</updated>
<author>
<name>Stefan Hajnoczi</name>
<email>stefanha@gmail.com</email>
</author>
<published>2012-11-11T12:24:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a71cac2a4c502b2ef6715b1576681834f9dbe693'/>
<id>urn:sha1:a71cac2a4c502b2ef6715b1576681834f9dbe693</id>
<content type='text'>
Signed-off-by: Stefan Hajnoczi &lt;stefanha@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: line6: separate handling of buffer allocation and stream startup</title>
<updated>2012-02-09T17:14:35Z</updated>
<author>
<name>Markus Grabner</name>
<email>grabner@icg.tugraz.at</email>
</author>
<published>2012-01-19T23:09:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0ca54888060135806d5567f47a6ad54be5297b34'/>
<id>urn:sha1:0ca54888060135806d5567f47a6ad54be5297b34</id>
<content type='text'>
There are several features of the Line6 USB driver which require PCM
data to be exchanged with the device:
*) PCM playback and capture via ALSA
*) software monitoring (for devices without hardware monitoring)
*) optional impulse response measurement
However, from the device's point of view, there is just a single
capture and playback stream, which must be shared between these
subsystems. It is therefore necessary to maintain the state of the
subsystems with respect to PCM usage. We define several constants of
the form LINE6_BIT_PCM_&lt;subsystem&gt;_&lt;direction&gt;_&lt;resource&gt; with the
following meanings:
*) &lt;subsystem&gt; is one of
-) ALSA: PCM playback and capture via ALSA
-) MONITOR: software monitoring
-) IMPULSE: optional impulse response measurement
*) &lt;direction&gt; is one of
-) PLAYBACK: audio output (from host to device)
-) CAPTURE: audio input (from device to host)
*) &lt;resource&gt; is one of
-) BUFFER: buffer required by PCM data stream
-) STREAM: actual PCM data stream

The subsystems call line6_pcm_acquire() to acquire the (shared)
resources needed for a particular operation (e.g., allocate the buffer
for ALSA playback or start the capture stream for software monitoring).
When a resource is no longer needed, it is released by calling
line6_pcm_release(). Buffer allocation and stream startup are handled
separately to allow the ALSA kernel driver to perform them at
appropriate places (since the callback which starts a PCM stream is not
allowed to sleep).

Signed-off-by: Markus Grabner &lt;grabner@icg.tugraz.at&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: line6: fixed ALSA/PCM interaction</title>
<updated>2011-12-10T03:26:09Z</updated>
<author>
<name>Markus Grabner</name>
<email>grabner@icg.tugraz.at</email>
</author>
<published>2011-12-10T01:12:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6b02a17ee5cd5d200dbe4a285a4e750f70884967'/>
<id>urn:sha1:6b02a17ee5cd5d200dbe4a285a4e750f70884967</id>
<content type='text'>
The PCM subsystem in the Line6 driver is mainly used for PCM playback and
capture by ALSA, but also has other tasks, most notably providing a
low-latency software monitor for devices which don't support hardware
monitoring (e.g., the TonePort series). This patch makes ALSA "play nicely"
with the other components, i.e., prevents it from resetting the isochronous
USB transfer while other PCM tasks (software monitoring) are running.

Signed-off-by: Markus Grabner &lt;grabner@icg.tugraz.at&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>staging: line6: fix memory leak in .hw_params()</title>
<updated>2011-12-10T03:26:09Z</updated>
<author>
<name>Stefan Hajnoczi</name>
<email>stefanha@gmail.com</email>
</author>
<published>2011-12-10T01:12:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=60c01a977814788178362ff0e1a22dfbf106eede'/>
<id>urn:sha1:60c01a977814788178362ff0e1a22dfbf106eede</id>
<content type='text'>
The .hw_params() pcm callback can be invoked multiple times in a row.
Ensure that the URB data buffer is only allocated once.

Signed-off-by: Stefan Hajnoczi &lt;stefanha@gmail.com&gt;
Signed-off-by: Markus Grabner &lt;grabner@icg.tugraz.at&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>staging/line6: Remove obsolete code</title>
<updated>2011-12-08T20:33:48Z</updated>
<author>
<name>Markus Grabner</name>
<email>grabner@icg.tugraz.at</email>
</author>
<published>2011-12-05T22:51:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3b35de4126f03d8df089c5fc908c40bb91485f6c'/>
<id>urn:sha1:3b35de4126f03d8df089c5fc908c40bb91485f6c</id>
<content type='text'>
This patch removes experimental code which is no longer used.

Signed-off-by: Markus Grabner &lt;grabner@icg.tugraz.at&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
