<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/linux/tegra_audio.h, branch T20_LinuxImageV2.0Beta1_20121218</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>ARM: tegra: resolve compilation time warnings</title>
<updated>2012-06-14T13:03:28+00:00</updated>
<author>
<name>Sanjay Singh Rawat</name>
<email>srawat@nvidia.com</email>
</author>
<published>2012-06-12T16:53:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=57f3c5da56ca35b9741be9b8b5593bfec1bdf32a'/>
<id>57f3c5da56ca35b9741be9b8b5593bfec1bdf32a</id>
<content type='text'>
- Adding flag to treat warning as error.
- Handling warnings of unused variable, structures and functions,
wrong return type, wrong type comparision.

Bug 949219

Change-Id: I9d02387ce1073c4e46f69d01669285aa3754f1d9
Signed-off-by: Sanjay Singh Rawat &lt;srawat@nvidia.com&gt;
Reviewed-on: http://git-master/r/104968
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Adding flag to treat warning as error.
- Handling warnings of unused variable, structures and functions,
wrong return type, wrong type comparision.

Bug 949219

Change-Id: I9d02387ce1073c4e46f69d01669285aa3754f1d9
Signed-off-by: Sanjay Singh Rawat &lt;srawat@nvidia.com&gt;
Reviewed-on: http://git-master/r/104968
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm: tegra: resolve compilation time warnings</title>
<updated>2012-06-04T20:44:34+00:00</updated>
<author>
<name>Sanjay Singh Rawat</name>
<email>srawat@nvidia.com</email>
</author>
<published>2012-06-01T11:01:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bfdb79df1004fd3757f59a7c2882482880a3ee7b'/>
<id>bfdb79df1004fd3757f59a7c2882482880a3ee7b</id>
<content type='text'>
Bug 949219

Change-Id: I91a67d30869e9800c483f112d58b9f76e2dbe361
Signed-off-by: Sanjay Singh Rawat &lt;srawat@nvidia.com&gt;
Reviewed-on: http://git-master/r/103534
Reviewed-by: Simone Willett &lt;swillett@nvidia.com&gt;
Tested-by: Simone Willett &lt;swillett@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug 949219

Change-Id: I91a67d30869e9800c483f112d58b9f76e2dbe361
Signed-off-by: Sanjay Singh Rawat &lt;srawat@nvidia.com&gt;
Reviewed-on: http://git-master/r/103534
Reviewed-by: Simone Willett &lt;swillett@nvidia.com&gt;
Tested-by: Simone Willett &lt;swillett@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm: tegra: change function declaration to static</title>
<updated>2012-05-01T21:14:24+00:00</updated>
<author>
<name>Rahul Mittal</name>
<email>rmittal@nvidia.com</email>
</author>
<published>2012-04-26T11:09:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=30dee27a399ea53f18c714c7d6bf6a1a63090165'/>
<id>30dee27a399ea53f18c714c7d6bf6a1a63090165</id>
<content type='text'>
Change-Id: Ib16ea10bf1acc2c7171935429635502aee80f3f4
Signed-off-by: Rahul Mittal &lt;rmittal@nvidia.com&gt;
Reviewed-on: http://git-master/r/99072
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nikesh Oswal &lt;noswal@nvidia.com&gt;
Reviewed-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ib16ea10bf1acc2c7171935429635502aee80f3f4
Signed-off-by: Rahul Mittal &lt;rmittal@nvidia.com&gt;
Reviewed-on: http://git-master/r/99072
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nikesh Oswal &lt;noswal@nvidia.com&gt;
Reviewed-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tegra_audio: add default implementation for tegra_is_voice_call_active()</title>
<updated>2012-04-05T16:10:36+00:00</updated>
<author>
<name>Mayuresh Kulkarni</name>
<email>mkulkarni@nvidia.com</email>
</author>
<published>2012-03-26T12:48:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ab1f075e4c6afff574f3626be08f32ca51cc4a98'/>
<id>ab1f075e4c6afff574f3626be08f32ca51cc4a98</id>
<content type='text'>
- mods kernel do not enable audio related configs in kernel
- tegra_is_voice_call_active() is defined only when audio
related configs are enabled
- this commit adds a default implementation for tegra_is_voice_call_active()
which can be called from generic pm code in mach-tegra
- it also makes the default implementation inline

Bug 924817

Signed-off-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-on: http://git-master/r/92312
(cherry picked from commit 1b7507db6f2266d5cac10fcd4b3e7b06f6d2f3bd)

Change-Id: I286237b838c39cf5c7784c014459bdcaf50c31ef
Reviewed-on: http://git-master/r/94394
Tested-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- mods kernel do not enable audio related configs in kernel
- tegra_is_voice_call_active() is defined only when audio
related configs are enabled
- this commit adds a default implementation for tegra_is_voice_call_active()
which can be called from generic pm code in mach-tegra
- it also makes the default implementation inline

Bug 924817

Signed-off-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-on: http://git-master/r/92312
(cherry picked from commit 1b7507db6f2266d5cac10fcd4b3e7b06f6d2f3bd)

Change-Id: I286237b838c39cf5c7784c014459bdcaf50c31ef
Reviewed-on: http://git-master/r/94394
Tested-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tegra_audio: declare an api for getting voice call state</title>
<updated>2012-01-30T21:20:52+00:00</updated>
<author>
<name>Nikesh Oswal</name>
<email>noswal@nvidia.com</email>
</author>
<published>2012-01-25T06:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=85c8c9b28336e60869cb723861925b707415a55f'/>
<id>85c8c9b28336e60869cb723861925b707415a55f</id>
<content type='text'>
Bug: 924817

Reviewed-on: http://git-master/r/77236

Change-Id: Iea767c952cfac8cb1643e28b7e29e43ad298909e
Signed-off-by: Nikesh Oswal &lt;noswal@nvidia.com&gt;
Signed-off-by: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
Reviewed-on: http://git-master/r/77755
Reviewed-by: Automatic_Commit_Validation_User
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 924817

Reviewed-on: http://git-master/r/77236

Change-Id: Iea767c952cfac8cb1643e28b7e29e43ad298909e
Signed-off-by: Nikesh Oswal &lt;noswal@nvidia.com&gt;
Signed-off-by: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
Reviewed-on: http://git-master/r/77755
Reviewed-by: Automatic_Commit_Validation_User
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Add ioctl constants for i2s loopback tests</title>
<updated>2011-12-01T05:49:30+00:00</updated>
<author>
<name>Vijay Mali</name>
<email>vmali@nvidia.com</email>
</author>
<published>2011-10-21T07:27:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c2db6cea0d0e26575a2719420f333d7b3fd78ab2'/>
<id>c2db6cea0d0e26575a2719420f333d7b3fd78ab2</id>
<content type='text'>
Add required ioctl constants for i2s loopback tests.
Audio test framework is using these ioctls for setting
pcm format paramters for I2S loopback test.

Change-Id: Id192668c5e9937e3cb42f8712a982f214e999289
Reviewed-on: http://git-master/r/59524
Reviewed-by: Rahul Mittal &lt;rmittal@nvidia.com&gt;
Reviewed-by: Vijay Mali &lt;vmali@nvidia.com&gt;
Tested-by: Vijay Mali &lt;vmali@nvidia.com&gt;
Reviewed-by: Scott Peterson &lt;speterson@nvidia.com&gt;

Rebase-Id: R5cb6bfb63d281559d992818c2a2a95cb00fba78d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add required ioctl constants for i2s loopback tests.
Audio test framework is using these ioctls for setting
pcm format paramters for I2S loopback test.

Change-Id: Id192668c5e9937e3cb42f8712a982f214e999289
Reviewed-on: http://git-master/r/59524
Reviewed-by: Rahul Mittal &lt;rmittal@nvidia.com&gt;
Reviewed-by: Vijay Mali &lt;vmali@nvidia.com&gt;
Tested-by: Vijay Mali &lt;vmali@nvidia.com&gt;
Reviewed-by: Scott Peterson &lt;speterson@nvidia.com&gt;

Rebase-Id: R5cb6bfb63d281559d992818c2a2a95cb00fba78d
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Add ioctl constants for audio test framework</title>
<updated>2011-12-01T05:49:15+00:00</updated>
<author>
<name>Rahul Mittal</name>
<email>rmittal@nvidia.com</email>
</author>
<published>2011-10-05T13:19:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0fb055b420efbac32cd32ad834d179e1ad9df38b'/>
<id>0fb055b420efbac32cd32ad834d179e1ad9df38b</id>
<content type='text'>
Added some ioctl constants required for audio test framework use cases
like DAM mixing and APBIF channel validation

Change-Id: Icc536fbb2cfd28f89ac760cd67b24e5a46892d7d
Reviewed-on: http://git-master/r/56222
Tested-by: Rahul Mittal &lt;rmittal@nvidia.com&gt;
Reviewed-by: Scott Peterson &lt;speterson@nvidia.com&gt;

Rebase-Id: Re03b618eb7923447c13d0732641be8a2bf80e75f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added some ioctl constants required for audio test framework use cases
like DAM mixing and APBIF channel validation

Change-Id: Icc536fbb2cfd28f89ac760cd67b24e5a46892d7d
Reviewed-on: http://git-master/r/56222
Tested-by: Rahul Mittal &lt;rmittal@nvidia.com&gt;
Reviewed-by: Scott Peterson &lt;speterson@nvidia.com&gt;

Rebase-Id: Re03b618eb7923447c13d0732641be8a2bf80e75f
</pre>
</div>
</content>
</entry>
<entry>
<title>arm:tegra: Add EXPORT_SYMBOL and ioctls for test framework</title>
<updated>2011-12-01T05:48:54+00:00</updated>
<author>
<name>Rahul Mittal</name>
<email>rmittal@nvidia.com</email>
</author>
<published>2011-09-14T09:34:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=62f7f99f98ce305e341e2316c9c573e28eb7668e'/>
<id>62f7f99f98ce305e341e2316c9c573e28eb7668e</id>
<content type='text'>
Added EXPORT_SYMBOL to functions to be used by loadable kernel module
for audio test framework. Also added ioctl declarations for the same.

Change-Id: Id8a023c1d76fd031c042c7c663bb0e1df2d33b5c
Reviewed-on: http://git-master/r/52333
Tested-by: Rahul Mittal &lt;rmittal@nvidia.com&gt;
Reviewed-by: Vijay Mali &lt;vmali@nvidia.com&gt;
Reviewed-by: Scott Peterson &lt;speterson@nvidia.com&gt;

Rebase-Id: Rfdc9fd3b9a42b2ee601c273480f9986ab897f046
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added EXPORT_SYMBOL to functions to be used by loadable kernel module
for audio test framework. Also added ioctl declarations for the same.

Change-Id: Id8a023c1d76fd031c042c7c663bb0e1df2d33b5c
Reviewed-on: http://git-master/r/52333
Tested-by: Rahul Mittal &lt;rmittal@nvidia.com&gt;
Reviewed-by: Vijay Mali &lt;vmali@nvidia.com&gt;
Reviewed-by: Scott Peterson &lt;speterson@nvidia.com&gt;

Rebase-Id: Rfdc9fd3b9a42b2ee601c273480f9986ab897f046
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM] tegra: i2s: Continuous DMA support</title>
<updated>2011-12-01T05:36:42+00:00</updated>
<author>
<name>Chris Fries</name>
<email>C.Fries@motorola.com</email>
</author>
<published>2010-11-18T18:42:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5b5a9d8e8e69b1cdd89bda5ce2f588a0dd9f7cad'/>
<id>5b5a9d8e8e69b1cdd89bda5ce2f588a0dd9f7cad</id>
<content type='text'>
- Refactor DMA interactions to handle continuous single-buffered DMA
- Remove PIO support (obsolete, conflicts with new buffer management)
- Remove sample rate conversion (obsolete)
- Remove error-reporting logic
- Remove TEGRA_AUDIO_IN/OUT_GET/SET_BUF_CONFIG
- Add TEGRA_AUDIO_IN/OUT_GET/SET_NUM_BUFS

Change-Id: I8f21a0bb314aac3b7d1bb4918bda9141e58db38d
Signed-off-by: Iliyan Malchev &lt;malchev@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Refactor DMA interactions to handle continuous single-buffered DMA
- Remove PIO support (obsolete, conflicts with new buffer management)
- Remove sample rate conversion (obsolete)
- Remove error-reporting logic
- Remove TEGRA_AUDIO_IN/OUT_GET/SET_BUF_CONFIG
- Add TEGRA_AUDIO_IN/OUT_GET/SET_NUM_BUFS

Change-Id: I8f21a0bb314aac3b7d1bb4918bda9141e58db38d
Signed-off-by: Iliyan Malchev &lt;malchev@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM] tegra_i2s_audio: fixes</title>
<updated>2011-12-01T05:36:13+00:00</updated>
<author>
<name>Iliyan Malchev</name>
<email>malchev@google.com</email>
</author>
<published>2010-10-12T19:50:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6546383b55c28690426e66037d93ecaccf4d0150'/>
<id>6546383b55c28690426e66037d93ecaccf4d0150</id>
<content type='text'>
-- Ignore kfifo thresholds on recording and playback and adjust the delays.
-- Take out the code from TEGRA_AUDIO_IN_STOP into a separate function
   stop_recording_nosync()
-- Rename stop_recording() to wait_for_recording_to_stop().
-- add ioctl(TEGRA_AUDIO_OUT_FLUSH), which blocks the caller until the output
   fifo is drained.  While the caller is blocked, pending write() calls will
   return immediately with whatever data they had managed to queue up.
-- removed ioctl(TEGRA_AUDIO_OUT_PRELOAD_FIFO)
-- since TEGRA_AUDIO_OUT_FLUSH and TEGRA_AUDIO_IN_STOP act similarly, moved
   audio_driver_state::recording_cancelled to audio_stream::stop and changed
   the code accordingly.  Renamed functions wait_for_recording_to_stop() and
   stop_recording_nosync() to wait_till_stopped() and request_stop_nosync()
   since they handle both playback and recording.
-- print errors on close() if wakelocks are still held
-- Call request_stop_nosync() on close() of a recording file handle
-- Do not use struct audio_stream::active for playback streams.  Instead,
   where applicable, use kfifo_len().  As a consequence, playback kfifo
   underruns are no longer reported.  These were bogus anyway, as we really
   need the DMA engine to tell us if there are underruns.
-- Because of above item, had to rework tx_fifo_atn_store(),
   rx_fifo_atn_store(), and __attr_fifo_atn_write().
-- Set struct audio_stream::active for a recording stream to true when a
   recording starts, and set it to false when recording get stopped.  Do not
   set/clear it within the body of read(), because just being within read()
   does not mean that recording is in progress.
-- In tegra_audio_read(), check for stop == true before calling
   start_recording_if_necessary(); this makes sure that if a user calls read()
   after calling ioctl(TEGRA_AUDIO_IN_STOP), recording will not resume unless
   ioctl(TEGRA_AUDIO_IN_START) gets called, or the file is closed and
   re-opened.
-- Fixed TEGRA_AUDIO_IN_START
-- In PIO mode, enabled FIFOs before enabling interrupts as specified in the
   TRM.
-- Added missing break in tegra_audio_ioctl().
-- Silenced some debug spew

Signed-off-by: Iliyan Malchev &lt;malchev@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-- Ignore kfifo thresholds on recording and playback and adjust the delays.
-- Take out the code from TEGRA_AUDIO_IN_STOP into a separate function
   stop_recording_nosync()
-- Rename stop_recording() to wait_for_recording_to_stop().
-- add ioctl(TEGRA_AUDIO_OUT_FLUSH), which blocks the caller until the output
   fifo is drained.  While the caller is blocked, pending write() calls will
   return immediately with whatever data they had managed to queue up.
-- removed ioctl(TEGRA_AUDIO_OUT_PRELOAD_FIFO)
-- since TEGRA_AUDIO_OUT_FLUSH and TEGRA_AUDIO_IN_STOP act similarly, moved
   audio_driver_state::recording_cancelled to audio_stream::stop and changed
   the code accordingly.  Renamed functions wait_for_recording_to_stop() and
   stop_recording_nosync() to wait_till_stopped() and request_stop_nosync()
   since they handle both playback and recording.
-- print errors on close() if wakelocks are still held
-- Call request_stop_nosync() on close() of a recording file handle
-- Do not use struct audio_stream::active for playback streams.  Instead,
   where applicable, use kfifo_len().  As a consequence, playback kfifo
   underruns are no longer reported.  These were bogus anyway, as we really
   need the DMA engine to tell us if there are underruns.
-- Because of above item, had to rework tx_fifo_atn_store(),
   rx_fifo_atn_store(), and __attr_fifo_atn_write().
-- Set struct audio_stream::active for a recording stream to true when a
   recording starts, and set it to false when recording get stopped.  Do not
   set/clear it within the body of read(), because just being within read()
   does not mean that recording is in progress.
-- In tegra_audio_read(), check for stop == true before calling
   start_recording_if_necessary(); this makes sure that if a user calls read()
   after calling ioctl(TEGRA_AUDIO_IN_STOP), recording will not resume unless
   ioctl(TEGRA_AUDIO_IN_START) gets called, or the file is closed and
   re-opened.
-- Fixed TEGRA_AUDIO_IN_START
-- In PIO mode, enabled FIFOs before enabling interrupts as specified in the
   TRM.
-- Added missing break in tegra_audio_ioctl().
-- Silenced some debug spew

Signed-off-by: Iliyan Malchev &lt;malchev@google.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
