diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-10-06 08:01:11 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-10-06 08:01:11 -0400 |
commit | 8df22a4d6f5b81c9c1703579d4907b57002689ed (patch) | |
tree | 064e9662d427a82076e1151fcd9aa78a1066f9f4 /Documentation/DocBook | |
parent | 0cae90a96c15f2fd3bd139ba5505755c9c9ef2eb (diff) | |
parent | a5448c88b812390a3622e76d774e10c0da1fb970 (diff) |
Merge tag 'asoc-v3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
ASoC: Updates for v3.18
- More componentisation work from Lars-Peter, this time mainly
cleaning up the suspend and bias level transition callbacks.
- Real system support for the Intel drivers and a bunch of fixes and
enhancements for the associated CODEC drivers, this is going to need
a lot quirks over time due to the lack of any firmware description of
the boards.
- Jack detect support for simple card from Dylan Reid.
- A bunch of small fixes and enhancements for the Freescale drivers.
- New drivers for Analog Devices SSM4567, Cirrus Logic CS35L32, Everest
Semiconductor ES8328 and Freescale cards using the ASRC in newer i.MX
processors.
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/media/v4l/compat.xml | 24 | ||||
-rw-r--r-- | Documentation/DocBook/media/v4l/func-poll.xml | 35 | ||||
-rw-r--r-- | Documentation/DocBook/media/v4l/v4l2.xml | 11 | ||||
-rw-r--r-- | Documentation/DocBook/media/v4l/vidioc-subdev-g-selection.xml | 2 |
4 files changed, 60 insertions, 12 deletions
diff --git a/Documentation/DocBook/media/v4l/compat.xml b/Documentation/DocBook/media/v4l/compat.xml index eee6f0f4aa43..3a626d1b8f2e 100644 --- a/Documentation/DocBook/media/v4l/compat.xml +++ b/Documentation/DocBook/media/v4l/compat.xml | |||
@@ -2545,6 +2545,30 @@ fields changed from _s32 to _u32. | |||
2545 | </orderedlist> | 2545 | </orderedlist> |
2546 | </section> | 2546 | </section> |
2547 | 2547 | ||
2548 | <section> | ||
2549 | <title>V4L2 in Linux 3.16</title> | ||
2550 | <orderedlist> | ||
2551 | <listitem> | ||
2552 | <para>Added event V4L2_EVENT_SOURCE_CHANGE. | ||
2553 | </para> | ||
2554 | </listitem> | ||
2555 | </orderedlist> | ||
2556 | </section> | ||
2557 | |||
2558 | <section> | ||
2559 | <title>V4L2 in Linux 3.17</title> | ||
2560 | <orderedlist> | ||
2561 | <listitem> | ||
2562 | <para>Extended &v4l2-pix-format;. Added format flags. | ||
2563 | </para> | ||
2564 | </listitem> | ||
2565 | <listitem> | ||
2566 | <para>Added compound control types and &VIDIOC-QUERY-EXT-CTRL;. | ||
2567 | </para> | ||
2568 | </listitem> | ||
2569 | </orderedlist> | ||
2570 | </section> | ||
2571 | |||
2548 | <section id="other"> | 2572 | <section id="other"> |
2549 | <title>Relation of V4L2 to other Linux multimedia APIs</title> | 2573 | <title>Relation of V4L2 to other Linux multimedia APIs</title> |
2550 | 2574 | ||
diff --git a/Documentation/DocBook/media/v4l/func-poll.xml b/Documentation/DocBook/media/v4l/func-poll.xml index 85cad8bff5ba..4c73f115219b 100644 --- a/Documentation/DocBook/media/v4l/func-poll.xml +++ b/Documentation/DocBook/media/v4l/func-poll.xml | |||
@@ -29,9 +29,12 @@ can suspend execution until the driver has captured data or is ready | |||
29 | to accept data for output.</para> | 29 | to accept data for output.</para> |
30 | 30 | ||
31 | <para>When streaming I/O has been negotiated this function waits | 31 | <para>When streaming I/O has been negotiated this function waits |
32 | until a buffer has been filled or displayed and can be dequeued with | 32 | until a buffer has been filled by the capture device and can be dequeued |
33 | the &VIDIOC-DQBUF; ioctl. When buffers are already in the outgoing | 33 | with the &VIDIOC-DQBUF; ioctl. For output devices this function waits |
34 | queue of the driver the function returns immediately.</para> | 34 | until the device is ready to accept a new buffer to be queued up with |
35 | the &VIDIOC-QBUF; ioctl for display. When buffers are already in the outgoing | ||
36 | queue of the driver (capture) or the incoming queue isn't full (display) | ||
37 | the function returns immediately.</para> | ||
35 | 38 | ||
36 | <para>On success <function>poll()</function> returns the number of | 39 | <para>On success <function>poll()</function> returns the number of |
37 | file descriptors that have been selected (that is, file descriptors | 40 | file descriptors that have been selected (that is, file descriptors |
@@ -44,10 +47,22 @@ Capture devices set the <constant>POLLIN</constant> and | |||
44 | flags. When the function timed out it returns a value of zero, on | 47 | flags. When the function timed out it returns a value of zero, on |
45 | failure it returns <returnvalue>-1</returnvalue> and the | 48 | failure it returns <returnvalue>-1</returnvalue> and the |
46 | <varname>errno</varname> variable is set appropriately. When the | 49 | <varname>errno</varname> variable is set appropriately. When the |
47 | application did not call &VIDIOC-QBUF; or &VIDIOC-STREAMON; yet the | 50 | application did not call &VIDIOC-STREAMON; the |
48 | <function>poll()</function> function succeeds, but sets the | 51 | <function>poll()</function> function succeeds, but sets the |
49 | <constant>POLLERR</constant> flag in the | 52 | <constant>POLLERR</constant> flag in the |
50 | <structfield>revents</structfield> field.</para> | 53 | <structfield>revents</structfield> field. When the |
54 | application has called &VIDIOC-STREAMON; for a capture device but hasn't | ||
55 | yet called &VIDIOC-QBUF;, the <function>poll()</function> function | ||
56 | succeeds and sets the <constant>POLLERR</constant> flag in the | ||
57 | <structfield>revents</structfield> field. For output devices this | ||
58 | same situation will cause <function>poll()</function> to succeed | ||
59 | as well, but it sets the <constant>POLLOUT</constant> and | ||
60 | <constant>POLLWRNORM</constant> flags in the <structfield>revents</structfield> | ||
61 | field.</para> | ||
62 | |||
63 | <para>If an event occurred (see &VIDIOC-DQEVENT;) then | ||
64 | <constant>POLLPRI</constant> will be set in the <structfield>revents</structfield> | ||
65 | field and <function>poll()</function> will return.</para> | ||
51 | 66 | ||
52 | <para>When use of the <function>read()</function> function has | 67 | <para>When use of the <function>read()</function> function has |
53 | been negotiated and the driver does not capture yet, the | 68 | been negotiated and the driver does not capture yet, the |
@@ -58,10 +73,18 @@ continuously (as opposed to, for example, still images) the function | |||
58 | may return immediately.</para> | 73 | may return immediately.</para> |
59 | 74 | ||
60 | <para>When use of the <function>write()</function> function has | 75 | <para>When use of the <function>write()</function> function has |
61 | been negotiated the <function>poll</function> function just waits | 76 | been negotiated and the driver does not stream yet, the |
77 | <function>poll</function> function starts streaming. When that fails | ||
78 | it returns a <constant>POLLERR</constant> as above. Otherwise it waits | ||
62 | until the driver is ready for a non-blocking | 79 | until the driver is ready for a non-blocking |
63 | <function>write()</function> call.</para> | 80 | <function>write()</function> call.</para> |
64 | 81 | ||
82 | <para>If the caller is only interested in events (just | ||
83 | <constant>POLLPRI</constant> is set in the <structfield>events</structfield> | ||
84 | field), then <function>poll()</function> will <emphasis>not</emphasis> | ||
85 | start streaming if the driver does not stream yet. This makes it | ||
86 | possible to just poll for events and not for buffers.</para> | ||
87 | |||
65 | <para>All drivers implementing the <function>read()</function> or | 88 | <para>All drivers implementing the <function>read()</function> or |
66 | <function>write()</function> function or streaming I/O must also | 89 | <function>write()</function> function or streaming I/O must also |
67 | support the <function>poll()</function> function.</para> | 90 | support the <function>poll()</function> function.</para> |
diff --git a/Documentation/DocBook/media/v4l/v4l2.xml b/Documentation/DocBook/media/v4l/v4l2.xml index f2f81f06a17b..7cfe618f754d 100644 --- a/Documentation/DocBook/media/v4l/v4l2.xml +++ b/Documentation/DocBook/media/v4l/v4l2.xml | |||
@@ -152,10 +152,11 @@ structs, ioctls) must be noted in more detail in the history chapter | |||
152 | applications. --> | 152 | applications. --> |
153 | 153 | ||
154 | <revision> | 154 | <revision> |
155 | <revnumber>3.16</revnumber> | 155 | <revnumber>3.17</revnumber> |
156 | <date>2014-05-27</date> | 156 | <date>2014-08-04</date> |
157 | <authorinitials>lp</authorinitials> | 157 | <authorinitials>lp, hv</authorinitials> |
158 | <revremark>Extended &v4l2-pix-format;. Added format flags. | 158 | <revremark>Extended &v4l2-pix-format;. Added format flags. Added compound control types |
159 | and VIDIOC_QUERY_EXT_CTRL. | ||
159 | </revremark> | 160 | </revremark> |
160 | </revision> | 161 | </revision> |
161 | 162 | ||
@@ -538,7 +539,7 @@ and discussions on the V4L mailing list.</revremark> | |||
538 | </partinfo> | 539 | </partinfo> |
539 | 540 | ||
540 | <title>Video for Linux Two API Specification</title> | 541 | <title>Video for Linux Two API Specification</title> |
541 | <subtitle>Revision 3.14</subtitle> | 542 | <subtitle>Revision 3.17</subtitle> |
542 | 543 | ||
543 | <chapter id="common"> | 544 | <chapter id="common"> |
544 | &sub-common; | 545 | &sub-common; |
diff --git a/Documentation/DocBook/media/v4l/vidioc-subdev-g-selection.xml b/Documentation/DocBook/media/v4l/vidioc-subdev-g-selection.xml index 1ba9e999af3f..c62a7360719b 100644 --- a/Documentation/DocBook/media/v4l/vidioc-subdev-g-selection.xml +++ b/Documentation/DocBook/media/v4l/vidioc-subdev-g-selection.xml | |||
@@ -119,7 +119,7 @@ | |||
119 | </row> | 119 | </row> |
120 | <row> | 120 | <row> |
121 | <entry>&v4l2-rect;</entry> | 121 | <entry>&v4l2-rect;</entry> |
122 | <entry><structfield>rect</structfield></entry> | 122 | <entry><structfield>r</structfield></entry> |
123 | <entry>Selection rectangle, in pixels.</entry> | 123 | <entry>Selection rectangle, in pixels.</entry> |
124 | </row> | 124 | </row> |
125 | <row> | 125 | <row> |