<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/common, branch linux-6.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-07-19T14:36:28Z</updated>
<entry>
<title>media: common: saa7146: Avoid a leak in vmalloc_to_sg()</title>
<updated>2023-07-19T14:36:28Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2023-04-25T13:25:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5916e82dfc848e9ec18f310695aeb80b5445264a'/>
<id>urn:sha1:5916e82dfc848e9ec18f310695aeb80b5445264a</id>
<content type='text'>
[ Upstream commit b2aa8ac6f97e26d788948fb60dcc5625c9633f4e ]

Commit in Fixes turned a BUG() into a "normal" memory allocation failure.
While at it, it introduced a memory leak.
So fix it.

Also update the comment on top of the function to reflect what has been
change by the commit in Fixes.

Fixes: 40e986c99624 ("media: common: saa7146: replace BUG_ON by WARN_ON")
Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: common: saa7146: add support for missing .vidioc_try_fmt_vbi_cap</title>
<updated>2023-04-15T07:55:16Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2023-03-02T11:41:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=017984559d09aef296011f9a8e9ce855404ad519'/>
<id>urn:sha1:017984559d09aef296011f9a8e9ce855404ad519</id>
<content type='text'>
Support for VIDIOC_TRY_FMT for the vbi device was missing.
Add it.

This fixes a V4L2 compliance issue.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: common: saa7146: allow S_STD(G_STD)</title>
<updated>2023-04-15T07:54:35Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2023-03-02T11:37:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2943a0e9a7859c52d75f2f5cce532e04c4320a9'/>
<id>urn:sha1:b2943a0e9a7859c52d75f2f5cce532e04c4320a9</id>
<content type='text'>
If the requested TV standard is identical to the current
TV standard, then return 0, even when the vb2 queues are
busy.

This fixes a V4L2 compliance issue.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: common: saa7146: check minimum video format size</title>
<updated>2023-04-15T07:54:09Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2023-03-02T11:31:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ff6dad2f95fb6a3474fdf3ee9edf6892908302dd'/>
<id>urn:sha1:ff6dad2f95fb6a3474fdf3ee9edf6892908302dd</id>
<content type='text'>
There was no check for the minimum width and height, so
0 values were just passed on. Fix this.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: common: saa7146: fix compliance problems with field handling</title>
<updated>2023-04-15T07:53:53Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2023-03-02T11:27:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e4561809174806ec304373a6734b89595a5a6988'/>
<id>urn:sha1:e4561809174806ec304373a6734b89595a5a6988</id>
<content type='text'>
The initial field value of the format is ANY, which isn't allowed.
Change to INTERLACED.

VIDIOC_TRY_FMT will overwrite vv-&gt;last_field, which is an
unwanted side-effect, so drop this.

And finally vidioc_s_fmt_vid_cap didn't initialize vv-&gt;last_field
correctly.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: saa7146: convert to vb2</title>
<updated>2023-04-15T07:53:31Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2023-03-01T11:05:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b6e30bd37ae14ae34f7dbcc46a05e98903d0eae'/>
<id>urn:sha1:0b6e30bd37ae14ae34f7dbcc46a05e98903d0eae</id>
<content type='text'>
Convert this driver from the old videobuf framework to the vb2
frame.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: common: saa7146: use for_each_sg_dma_page</title>
<updated>2023-04-15T07:52:32Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2023-03-02T10:35:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b3b2dd37290208a0cc085e9a0bb8430f0caeb89b'/>
<id>urn:sha1:b3b2dd37290208a0cc085e9a0bb8430f0caeb89b</id>
<content type='text'>
When building the pgtables, use for_each_sg_dma_page.

Also clean up the code a bit.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: common: saa7146: fix broken V4L2_PIX_FMT_YUV422P support</title>
<updated>2023-04-15T07:52:06Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2023-03-02T10:21:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=500174a2d558c4d21fed35291e4dc6fc70ca178e'/>
<id>urn:sha1:500174a2d558c4d21fed35291e4dc6fc70ca178e</id>
<content type='text'>
The U and V components were swapped. Drop the FORMAT_BYTE_SWAP
to fix this.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: common: saa7146: replace BUG_ON by WARN_ON</title>
<updated>2023-04-15T07:51:21Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2023-03-02T10:05:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40e986c99624c5306c0d18fd9011a55440c5f61a'/>
<id>urn:sha1:40e986c99624c5306c0d18fd9011a55440c5f61a</id>
<content type='text'>
No need for BUG_ON, WARN_ON is a lot friendlier.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: common: saa7146: drop 'fmt' from struct saa7146_buf</title>
<updated>2023-04-15T07:50:58Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2023-03-02T09:52:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c79dbdae3a7693903a92a2348493e7084d9477b3'/>
<id>urn:sha1:c79dbdae3a7693903a92a2348493e7084d9477b3</id>
<content type='text'>
Use the video_fmt in saa7146_vv instead of having a pointer
to it in struct saa7146_buf.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
</feed>
