<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/platform/stm32, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-05-31T13:45:02Z</updated>
<entry>
<title>media: stm32-dcmi: fix crash when subdev do not expose any formats</title>
<updated>2019-05-31T13:45:02Z</updated>
<author>
<name>Hugues Fruchet</name>
</author>
<published>2019-04-01T08:56:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e4a22993b09c16e7194ce528efc49e2be3152f1'/>
<id>urn:sha1:6e4a22993b09c16e7194ce528efc49e2be3152f1</id>
<content type='text'>
[ Upstream commit 33dfeb62e23c31619d2197850f7e8b50e8cc5466 ]

Do not access sd_formats[] if num_of_sd_formats is zero, ie
subdev sensor didn't expose any formats.

Signed-off-by: Hugues Fruchet &lt;hugues.fruchet@st.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: stm32-dcmi: return appropriate error codes during probe</title>
<updated>2019-05-31T13:44:55Z</updated>
<author>
<name>Fabien Dessenne</name>
</author>
<published>2019-04-24T13:25:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3430347bec65e571002ffbc5cee95a6d700ea66f'/>
<id>urn:sha1:3430347bec65e571002ffbc5cee95a6d700ea66f</id>
<content type='text'>
[ Upstream commit b5b5a27bee5884860798ffd0f08e611a3942064b ]

During probe, return the provided errors value instead of -ENODEV.
This allows the driver to be deferred probed if needed.

Signed-off-by: Fabien Dessenne &lt;fabien.dessenne@st.com&gt;
Acked-by: Hugues Fruchet &lt;hugues.fruchet@st.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: v4l: fwnode: Initialise the V4L2 fwnode endpoints to zero</title>
<updated>2018-10-04T20:21:02Z</updated>
<author>
<name>Sakari Ailus</name>
</author>
<published>2018-07-31T09:15:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60359a28d59278e2a9e7558c15dc7be518d9beb8'/>
<id>urn:sha1:60359a28d59278e2a9e7558c15dc7be518d9beb8</id>
<content type='text'>
Initialise the V4L2 fwnode endpoints to zero in all drivers using
v4l2_fwnode_endpoint_parse(). This prepares for setting default endpoint
flags as well as the bus type. Setting bus type to zero will continue to
guess the bus among the guessable set (parallel, Bt.656 and CSI-2 D-PHY).

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Tested-by: Steve Longerbeam &lt;steve_longerbeam@mentor.com&gt;
Tested-by: Jacopo Mondi &lt;jacopo+renesas@jmondi.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: v4l: mediabus: Recognise CSI-2 D-PHY and C-PHY</title>
<updated>2018-10-04T20:06:15Z</updated>
<author>
<name>Sakari Ailus</name>
</author>
<published>2018-07-03T21:19:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2d95e7ed07ed29715a801a3d33b2ad2a6fb26ee3'/>
<id>urn:sha1:2d95e7ed07ed29715a801a3d33b2ad2a6fb26ee3</id>
<content type='text'>
The CSI-2 bus may use either D-PHY or C-PHY. Make this visible in media
bus enum.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Tested-by: Steve Longerbeam &lt;steve_longerbeam@mentor.com&gt;
Tested-by: Jacopo Mondi &lt;jacopo+renesas@jmondi.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: platform: Switch to v4l2_async_notifier_add_subdev</title>
<updated>2018-10-04T19:55:38Z</updated>
<author>
<name>Steve Longerbeam</name>
</author>
<published>2018-09-29T19:54:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d079f94c90469f413920b9f2b201537fac2ceb06'/>
<id>urn:sha1:d079f94c90469f413920b9f2b201537fac2ceb06</id>
<content type='text'>
Switch all media platform drivers to call v4l2_async_notifier_add_subdev()
to add asd's to a notifier, in place of referencing the notifier-&gt;subdevs[]
array. These drivers also must now call v4l2_async_notifier_init() before
adding asd's to their notifiers.

There may still be cases where a platform driver maintains a list of
asd's that is a duplicate of the notifier asd_list, in which case its
possible the platform driver list can be removed, and can reference the
notifier asd_list instead. One example of where a duplicate list has
been removed in this patch is xilinx-vipp.c. If there are such cases
remaining, those drivers should be optimized to remove the duplicate
platform driver asd lists.

None of the changes to the platform drivers in this patch have been
tested. Verify that the async subdevices needed by the platform are
bound at load time, and that the driver unloads and reloads correctly
with no memory leaking of asd objects.

Suggested-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Steve Longerbeam &lt;slongerbeam@gmail.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: stm32-dcmi: only enable IT frame on JPEG capture</title>
<updated>2018-10-04T18:29:43Z</updated>
<author>
<name>Hugues Fruchet</name>
</author>
<published>2018-09-24T12:54:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b88ff59e7996974dec7975a7beba1418b48bcabf'/>
<id>urn:sha1:b88ff59e7996974dec7975a7beba1418b48bcabf</id>
<content type='text'>
Only enable IT frame on JPEG capture, this saves some CPU
interruptions and processing on all the other cases.

Signed-off-by: Hugues Fruchet &lt;hugues.fruchet@st.com&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: use strscpy() instead of strlcpy()</title>
<updated>2018-09-11T17:32:17Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2018-09-10T12:19:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c0decac19da3906d9b66291e57b7759489e1170f'/>
<id>urn:sha1:c0decac19da3906d9b66291e57b7759489e1170f</id>
<content type='text'>
The implementation of strscpy() is more robust and safer.

That's now the recommended way to copy NUL terminated strings.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
Reviewed-by: Kees Cook &lt;keescook@chromium.org&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: stm32-dcmi: add power saving support</title>
<updated>2018-06-28T11:49:56Z</updated>
<author>
<name>Hugues Fruchet</name>
</author>
<published>2018-06-13T09:59:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=152e0bf60219ba589254c7aff4c095943c36cf68'/>
<id>urn:sha1:152e0bf60219ba589254c7aff4c095943c36cf68</id>
<content type='text'>
Implements runtime &amp; system sleep power management ops.

Signed-off-by: Hugues Fruchet &lt;hugues.fruchet@st.com&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: stm32-dcmi: simplify of_node_put usage</title>
<updated>2018-06-28T11:49:29Z</updated>
<author>
<name>Nicholas Mc Guire</name>
</author>
<published>2018-06-12T17:23:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f11552d030e8e5a0a945b1920e31eaf48fe3fad4'/>
<id>urn:sha1:f11552d030e8e5a0a945b1920e31eaf48fe3fad4</id>
<content type='text'>
This does not fix any bug - this is just a code simplification. As
np is not used after passing it to v4l2_fwnode_endpoint_parse() its
refcount can be decremented immediately and at one location.

Signed-off-by: Nicholas Mc Guire &lt;hofrat@osadl.org&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: stm32-dcmi: add mandatory of_node_put() in success path</title>
<updated>2018-06-28T11:49:06Z</updated>
<author>
<name>Nicholas Mc Guire</name>
</author>
<published>2018-06-12T17:22:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c2ee2243ce3763fef8da097851b2c07b73e18cdb'/>
<id>urn:sha1:c2ee2243ce3763fef8da097851b2c07b73e18cdb</id>
<content type='text'>
The endpoint allocated by of_graph_get_next_endpoint() needs an of_node_put()
in both error and success path. As  ep  is not used the refcount decrement
can be right after the last use of  ep.

Fixes: commit 37404f91ef8b ("[media] stm32-dcmi: STM32 DCMI camera interface driver")

Signed-off-by: Nicholas Mc Guire &lt;hofrat@osadl.org&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
</feed>
